toast::log::StreamPolicyConcept< Policy > Struct Template Reference
[toast logging library]

#include <toast/log/stream_policies.hpp>

List of all members.


Detailed Description

template<typename Policy>
struct toast::log::StreamPolicyConcept< Policy >

The StreamPolicyConcept describes the interface of a StreamPolicy. Currently the library provides five StreamPolicies: toast::log::any_stream, toast::log::cout_stream, toast::log::cerr_stream, toast::log::clog_stream, and toast::log::file_stream.

As long as a type meets this interface it may be used with the toast::logger class. An StreamPolicy must have a member function named stream that must accept nothing and must return something that matches the standard stream interface

Public Member Functions

void constraints ()
 Tests that an StreamPolicy meets the correct interface. Should only be used in accordance with the boost concept library.


The documentation for this struct was generated from the following file:

SourceForge.net Logo