Boost logo

Boost :

Subject: Re: [boost] GDB-like debugger for template metaprograms
From: Abel Sinkovics (abel_at_[hidden])
Date: 2014-11-26 16:12:40


Hi Benedek,

On 2014-11-26 21:46, Benedek Thaler wrote:
>
>> std::is_pointer<char>
> <stdin>:1:26: error: use of undeclared identifier 'std'
> <stdin>:1:46: error: expected '(' for function-style cast or type
> construction
> <stdin>:1:48: error: expected unqualified-id
>
> Probably I missed something, I just noted this because I would expect this
> as the intuitive way.

You seem to be missing a #include:

> #include <type_traits>
> std::is_pointer<char>::type
std::integral_constant<bool, false>

Regards,
   Ábel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk