|
BDE 4.14.0 Production release
|
#include <bslstl_optional.h>
This metafunction is derived from bsl::true_type if t_TYPE is an allocator-aware const type, and if t_ANY_TYPE is the same as t_TYPE, minus the cv qualification. This trait is used to enable a constructor overload for a const qualified allocator-aware ValueType taking an rvalue of Optional_Base of the non-const qualified ValueType. Such an overload needs to propagate the allocator.