Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Function template str_literal

boost::log::str_literal — Creates a string literal wrapper from a constant string literal.


// In header: <boost/log/utility/string_literal.hpp>

template<typename T, std::size_t LenV> 
  constexpr basic_string_literal< T > str_literal(T(&) p);