|
Boost : |
Subject: Re: [boost] [algorithm] aesthetic question about cxx11
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2012-03-22 15:57:09
lcaminiti wrote
>
> Hello all,
>
> I have an aesthetic question. Boost.Algorithm puts C++11 algorithms like
> all_of into a directory boost/algorithm/cxx11. Would the directory name
> boost/algorithm/cpp11 be preferred?
>
After poking around Boost.Config and other Boost libraries, it seems that
cxx11/CXX11 is the commonly adopted code name for C++11. Therefore, I have
no problem with cxx11/CXX11 in macros, code symbols, directories, files, etc
when there's a need to name C++11 as Boost.Algorithm, Boost.Config, etc are
doing.
Naming the specific C++11 standard can be considered a different issue from
naming a C++ files .cpp/.hpp. For example add_with_cxx11_lambdas.cpp is a
C++ files that implements and addition using C++11 lambdas and I think
that's a fine name (maybe even better than add_with_cpp11_lambdas.cpp).
I'd consider this issue closed.
Regards,
--Lorenzo
-- View this message in context: http://boost.2283326.n4.nabble.com/boost-algorithm-aesthetic-question-about-cxx11-tp4422682p4496680.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk