std::_Enable_default_constructor(3cxx)

std::_Enable_default_constructor3cxx

A mixin helper to conditionally enable or disable the default constructor.

Usage

Public Member Functions

constexpr _Enable_default_constructor (_Enable_default_constructor &&) noexcept=default
constexpr _Enable_default_constructor (_Enable_default_constructor const &) noexcept=default
constexpr _Enable_default_constructor (_Enable_default_constructor_tag)
_Enable_default_constructor & operator= (_Enable_default_constructor &&) noexcept=default
_Enable_default_constructor & operator= (_Enable_default_constructor const &) noexcept=default

Detailed Description

template<bool _Switch, typename _Tag = void>

struct std::_Enable_default_constructor< _Switch, _Tag >" A mixin helper to conditionally enable or disable the default constructor.

See also

_Enable_special_members

Definition at line 50 of file enable_special_members.h.

Releases

4 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10
  4. 11

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-10-doc 10.2.1-6 in Debian 11 (Bullseye). Also shipped by libstdc++-9-doc. Parsed by carta from the page's man source.