Boost logo

Boost :

From: Allen Yao (yaozhen_at_[hidden])
Date: 2004-03-10 08:06:26


"David Abrahams" <dave_at_[hidden]> ????
news:un06ox4wu.fsf_at_boost-consulting.com...
> You're missing something. Your declaration of f is equivalent to:
>
> template <int N>
> void f(int* a);
>
> try:
>
> template <int N>
> void f(int a(&)[N])
> ^^^

It seems that this line should be

        void f(int (&a)[N])

Thank you very much.

BTW: The original demo_fast_binary_archive.cpp seems missing this. May Ramey
fix this.

> instead.


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