Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::implicit_constructor_base< T, bool, bool, bool, bool > Class Template Reference

A class that has the same implicit constructors as another type. More...

Inheritance diagram for arene::base::implicit_constructor_base< T, bool, bool, bool, bool >:
Inheritance graph

Detailed Description

template<typename T, bool = std::is_constructible<T, T const&>::value, bool = std::is_constructible<T, T&>::value, bool = std::is_constructible<T, T const&&>::value, bool = std::is_constructible<T, T&&>::value>
class arene::base::implicit_constructor_base< T, bool, bool, bool, bool >

A class that has the same implicit constructors as another type.

It is intended for use as a base class for other types that define the constructors with =default, so they remain trivial when present, but are deleted when T does not provide them.

Template Parameters
TThe type to copy the properties from

The documentation for this class was generated from the following file: