...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::optional_manip
// In header: <boost/log/utility/manipulators/optional.hpp> template<typename OptionalT, typename NoneT> boost::enable_if_c< !is_scalar< OptionalT >::value &&!is_array< OptionalT >::value &&!is_scalar< NoneT >::value, optional_manipulator< OptionalT, NoneT >>::type optional_manip(OptionalT const & opt, NoneT const & none);
Optional manipulator generator function.
Note | |
---|---|
Both opt and none objects must outlive the created manipulator object. |
Parameters: |
|
||||
Returns: |
Manipulator to be inserted into the stream. |