Krita Source Code Documentation
Loading...
Searching...
No Matches
std::copy_const< Src, Dst > Struct Template Reference

#include <KisCppQuirks.h>

Public Types

using type = add_const_if_t<std::is_const_v<Src>, std::remove_const_t<Dst>>
 

Detailed Description

template<typename Src, typename Dst>
struct std::copy_const< Src, 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.

Member Typedef Documentation

◆ type

template<typename Src , typename Dst >
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.


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