PDI 1.11.0

the PDI data interface

PDI::buildable_from Concept Reference

An object is buildable_from<G> if it can be constructed using the init_from member function from a reference of G. More...

#include <testing.h>

Concept definition

template<class T, class G>
concept PDI::buildable_from = std::constructible_from<T, G&> && requires(G& g) {
{
T(g)
};
{
::new T(g)
};
}
An object is buildable_from<G> if it can be constructed using the init_from member function from a re...
Definition testing.h:93

Detailed Description

An object is buildable_from<G> if it can be constructed using the init_from member function from a reference of G.