|
Boost : |
From: Stephen Nutt (snutt_at_[hidden])
Date: 2002-08-30 18:54:32
Sorry, I wasn't very clear with my question. What I require is a way to do
the following
boost::int_t<60> val;
This however will be in a template and so the literal 60 will be replaced by
some template parameter not known until compile time. When I compile this I
currently get compile errors as the int_t template does not support long
long. If I replace it with
boost::int64_t<60> val;
I get compile errors as int64_t is a typedef and not a template.
Stephen
----- Original Message -----
From: "Jeff Garland" <jeff_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, August 30, 2002 4:21 PM
Subject: RE: [boost] Re: Why no long long support in integer::int_t?
> > > I wish boost::int_t would support long long. Now it is restricted to
> > > long. Is there any good reason for this restriction?
> >
> > I'm sorry, I can't find a response to this. Neal, did you find a clean
> > solution as I also need support for long long.
>
> Use boost::int64_t.
>
> Jeff
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk