Boost logo

Boost Users :

Subject: Re: [Boost-users] MSVC++ 2010 and BOOST_STATIC_ASSERT
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-11-02 20:36:24


AMDG

On 11/02/2011 04:32 PM, Sunil Thomas wrote:
> Thanks Steve & Nate,
>
> What I am building is a library.. not a main application. My main
> application is in unit test libraries. But building the
> library itself is generating the error. The class and its implementation is
> defined entirely in the header, say, cinc.h
> and I forgot to include a typedef after the class definition:
>
> <snip>
> <path/to>/cinc.hpp(255) : while compiling class template member
> function 'void C<>::assign(const unsigned __int64 &)'
> <path/to>/cinc.hpp(83): error C2338: N==1*
>

You've snipped something important.
I don't see a definition of assign
in your code. Figure out how and
why assign is called with 1 argument
and that should explain why your
code doesn't compile.

>
> I don't see myself doing anything different than what Steve did in his
> main.. and again, why was this building with
> MSVC++ 2008 (granted, that N defaults to 3 and all)? Anyways, hope this was
> more helpful.
>

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net