Skip to content

iox::cxx::add_const_conditionally🔗

Conditionally add const to type T if C has the const qualifier. More...

#include <iceoryx_hoofs/cxx/type_traits.hpp>

Public Types🔗

Name
using T type

Detailed Description🔗

template <typename T ,
typename C >
struct iox::cxx::add_const_conditionally;

Conditionally add const to type T if C has the const qualifier.

Template Parameters:

  • T is the type to conditionally add the const qualifier
  • Condition is the type which determines if the const qualifier needs to be added to T

Public Types Documentation🔗

using type🔗

using iox::cxx::add_const_conditionally< T, C >::type =  T;

Updated on 2 April 2022 at 16:37:47 CEST