forked from boostorg/endian
Make endian_buffer::value_ public when BOOST_ENDIAN_NO_CTORS is defined; add test
This commit is contained in:
1 parent
dffcf99ca6
commit
914d7d5c8d
3 files changed
+38
-1
No files matched your search
@@ -218,7 +218,9 @@ namespace endian
|
||||
template< BOOST_SCOPED_ENUM(order) Order, class T, std::size_t n_bits >
|
||||
class endian_buffer<Order, T, n_bits, align::no>
|
||||
{
|
||||
private:
|
||||
#ifdef BOOST_ENDIAN_NO_CTORS
|
||||
public:
|
||||
#endif
|
||||
|
||||
BOOST_STATIC_ASSERT( (n_bits/8)*8 == n_bits );
|
||||
|
||||
|
||||
Reference in new issue
Block a user