Krita Source Code Documentation
Loading...
Searching...
No Matches
std::add_const_if< is_const, T > Struct Template Reference

#include <KisCppQuirks.h>

Public Types

using type = std::conditional_t<is_const, std::add_const_t<T>, T>
 

Detailed Description

template<bool is_const, class T>
struct std::add_const_if< is_const, T >

Definition at line 17 of file KisCppQuirks.h.

Member Typedef Documentation

◆ type

template<bool is_const, class T >
using std::add_const_if< is_const, T >::type = std::conditional_t<is_const, std::add_const_t<T>, T>

Definition at line 19 of file KisCppQuirks.h.


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