boost::logging::detail::to_override<> Struct Template Reference

List of all members.

Detailed Description

struct boost::logging::detail::to_override<>

this is just a simple way to always return override; however, in this case we postpone the instantiation until our template parameter is known

For instance:

        typedef typename formatter::msg_type<override>::type msg_type;

would compute msg_type right now; however, we want the compiler to wait, until the user has actually set the msg_type, for example, using the BOOST_LOG_FORMAT_MSG macro. Thus, we do:

        typedef typename detail::to_override<format_base>::type T;
        typedef typename formatter::msg_type<T>::type msg_type;

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

Copyright John Torjo © 2007
Have a question/ suggestion/ comment? Send me feedback