2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-19 04:22:09 +00:00

Added a sanity check for value_ref over an empty type list.

This commit is contained in:
Andrey Semashev
2025-10-25 01:48:10 +03:00
parent b1fd6a2423
commit dfe99bee62

View File

@@ -255,6 +255,7 @@ class variant_ref
public:
//! Referenced value type
typedef T value_type;
static_assert(mpl::size< value_type >::value > 0, "Boost.Log: List of types referenced by value_ref must not be empty");
//! Tag type
typedef TagT tag_type;