Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2005-12-21 19:04:24

On 12/20/05 7:45 AM, "Christopher Kohlhoff" <chris_at_[hidden]> wrote:

> namespace boost { namespace asio {
> template <>
> class handler_allocator<::handler>;
> } } // namespaces

I hope that you're paraphrasing how you included the template argument. You
would need a space, like so: "< ::handler>". That's because "<:" is a
digraph for the opening square bracket ("["). If that code is not
off-the-cuff, then your complier has some issues with alternative token
resolution (or can turn digraphs off).

(Why yes, I have complained about this a bunch of times. And yes, I did get
bit by this bug once.)

Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at, gregod at, cpdaniel at, john at