Boost logo

Boost :

Subject: Re: [boost] [type_traits] Proposal: same_xxx
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-08 09:08:07

Adam Wulkiewicz wrote:
> Hi,
> Recently I found some use for a tool adding const to a type if some other
> type is const.


> same_cv<BaseT, T>

That's usually called copy_cv, and Google finds


The rest of the traits don't seem particularly popular.

Boost list run by bdawes at, gregod at, cpdaniel at, john at