Mr.Docs
Mr.Docs The C++ Alliance
Download

Mr.Docs

    • Getting Started
      • Demo Gallery
      • Installation
      • Basic Usage
      • Migration Notes
    • Commands
      • Overview
      • Block Commands
      • Metadata Commands
      • Inline Commands
      • Reference
    • Configuration
      • Overview
      • Inputs
      • Filters
      • Extraction
      • Output
      • Diagnostics
      • Reference
    • Generators
      • Overview
      • HTML
      • AsciiDoc
      • XML
    • Extensions
      • Corpus Extensions
      • Handlebars Extensions
      • Data-Driven Generators
      • Antora Extensions
      • Mr.Docs as a Library
      • DOM Reference
      • Library Reference
    • Contribute
      • Contributor Quickstart
      • Workflow & PR hygiene
      • Testing & fixtures
      • Options & architecture
      • Codebase tour
      • Docs changes
    • Design Notes
    • License
Mr.Docs master
  • Mr.Docs
    • master
    • develop
    • v0.8.0
    • v0.0.5
    • v0.0.4
    • v0.0.3
    • v0.0.2
    • v0.0.1
  • Mr.Docs
  • Reference
  • mrdocs
  • nullable_traits-0c
master develop v0.8.0 v0.0.5 v0.0.4 v0.0.3 v0.0.2 v0.0.1

mrdocs::nullable_traits<Polymorphic<T>>

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