cppx-core
Namespaces | Functions
downcasted_to_.hpp File Reference
#include <cppx-core/language/syntax/type-assemblers.hpp>
#include <cppx-core/language/tmp/basic-Enable_if_.hpp>
#include <cppx-core/language/tmp/basic-type-traits.hpp>
Include dependency graph for downcasted_to_.hpp:

Go to the source code of this file.

Namespaces

 cppx
 

Functions

template<class Derived , class Type , class = Enable_if_<is_base_and_derived_<Type, Derived>>>
auto cppx::downcasted_to_ (P_< Type > p) -> P_< Derived >