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

#include <toast/log/footer_policies.hpp>

List of all members.


Detailed Description

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

The FooterPolicyConcept describes the interface of a FooterPolicy.

As long as a type meets this interface it may be used with the toast::logger class. Currently the library provides two FooterPolicies: toast::log::no_footer and toast::log::newline.

A FooterPolicy must have a member function named footer that takes an int (or some type that can be created from an int), and return something that can be converted to a std::string.

Public Member Functions

void constraints ()
 Tests that a FooterPolicy 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