llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Types | List of all members
detail::copy_const< T, U > Struct Template Reference

#include <core/cast.h>

Public Types

using type = typename std::conditional< std::is_const< T >::value, typename std::add_const< U >::type, U >::type
 

Detailed Description

template<typename T, typename U>
struct detail::copy_const< T, U >

Provides U with the constness of T.


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