C++ Logo

std-discussion

Advanced search

Re: Unclear template type equivalence for decltype(dependent expression)

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Tue, 12 Nov 2024 12:06:20 +0100
On 12/11/2024 11.43, mauro russo wrote:
> Finally, just an additional confirmation on Note 3 of [temp.over.link]-5, with the
> examples A<42> and A<40+2>.
> There, A is intented to be a concept, right ? (using [temp.type]-(2.1))

Not really:

template<int x>
struct A { };

Jens

Received on 2024-11-12 11:06:24