|
Krita Source Code Documentation
|
#include <KisCppQuirks.h>
Public Types | |
| using | type = add_const_if_t<std::is_const_v<Src>, std::remove_const_t<Dst>> |
copy_const returns type Dst with exactly the same const-qualifier as type Src. In other words, it copies "constness" property from type Src to Dst.
Definition at line 31 of file KisCppQuirks.h.
| using std::copy_const< Src, Dst >::type = add_const_if_t<std::is_const_v<Src>, std::remove_const_t<Dst>> |
Definition at line 32 of file KisCppQuirks.h.