Boost logo

Boost :

Subject: Re: [boost] [smart_ptr][thread] Build failures
From: Peter Dimov (lists_at_[hidden])
Date: 2017-03-01 09:46:04


Andrey Semashev wrote:
> > D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(355)
> > : error C2059: syntax error : ')'

> This code looks correct to me. I can only guess what the compiler is
> complaining about. Maybe it thinks the operator `<` is an opening angle
> brace for template parameters.

That's it. This is the minimal test:

template<class T> struct value
{
};

#include <boost/make_shared.hpp>

int main()
{
}

MSVC is fun.


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