nullable_traits for Polymorphic<T>.

Synopsis

Declared in <mrdocs/ADT/Polymorphic.hpp>

template<class T>
struct nullable_traits<Polymorphic<T>>;

Description

Only this friend specialization can create/reset the null state.

Static Member Functions

Name

Description

is_null

Return true if the polymorphic value is disengaged.

make_null

Reset the polymorphic value to null.

null

Return a null polymorphic instance.

Created with MrDocs