Spec-Zone.ru › C++

std::constructible_from

Определено в заголовке <concepts>
template< class T, class... Args >
concept constructible_from =
    std::destructible<T> && std::is_constructible_v<T, Args...>;
(с C++20)

Концепция constructible_from определяет, что переменную типа T можно инициализировать с заданным набором типов аргументов Args....

См. также

is_constructibleis_trivially_constructibleis_nothrow_constructible
(C++11)(C++11)(C++11)
проверяет, имеет ли тип конструктор для определённых аргументов
(шаблон класса)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/concepts/constructible_from

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API