Boost logo

Boost :

From: Alf P. Steinbach (alf_p_steinbach_at_[hidden])
Date: 2005-03-24 22:16:43


Following the guidelines for Boost submission at
<url: http://www.boost.org/more/submission_process.htm#interest>
this is a request for interest.

I've posted the file + one little file it depends on at
<url: http://groups.yahoo.com/group/boost/files/named_strings/>.

This utility lets you use literal strings in char/wchar_t-templated
code (and even as template arguments): you can write things such as

BOOST_DEF_NAMED_STRING( eq, "=" )

template< typename Char >
bool is_assignment_op( std::basic_string<Char> const& s )
{
    return s == literal::eq::s<Char>();
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk