Loading...
Searching...
No Matches
bbm::concepts::convertible Concept Reference

convertible concept More...

#include <convertible.h>

Concept definition

template<typename DST, typename SRC>
concept bbm::concepts::convertible = requires(DST& dst, const SRC& src)
{
{ convert(dst, src) };
}
convertible concept
Definition: convertible.h:15

Detailed Description

convertible concept

Check if convert(DST& dst, const SRC& src) exists. The goal of this method is to copy and convert the data from 'src' to 'dst'. Essentially an extra-class cast method.