Subject: [Boost-users] Boost.Optional error should be a warning
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2019-01-14 19:31:08


Hello,

I am using Boost.Optional, and, while I do want to "include it in an
output", the library which I am doing so has another mechanism to do
so.

Translation, for Optional purposes, the following assertion should be
a warning, IMO, and not an error:

BOOST_STATIC_ASSERT_MSG(sizeof(CharType) == 0, "If you want to output
boost::optional, include header <boost/optional/optional_io.hpp>");

Cheers,

Michael Powell