
"David Abrahams" <dave@boost-consulting.com> escribió en el mensaje news:ur7sxancu.fsf@boost-consulting.com...
"Fernando Cacciola" <fernando_cacciola@hotmail.com> writes:
Now, OTOH, I think "none.hpp" should leave in the root directory and not on detail. I initially put it there but some people argued that it was Optional specific, but since there is no /optional subdir I moved it into /detail
FWIW, that was the wrong choice. /detail is supposed to be for implementation details, and users of documented components should never be tempted to go there.
OK... these are the choices then AFAICS: (1) Put in directly on /boost (2) Put in a new directory /boost/optional even if it will contain only this file (3) Put in /boost/optional, move "optional.hpp" here, and retain a root "optional.hpp" stub for backward compatibility. I'll go for (1) since it is possible, if not likely, that variant<> uses "none.hpp" too. Opinions? Fernando Cacciola SciSoft