Boost logo

Boost :

From: Alexander Nasonov (alnsn-mycop_at_[hidden])
Date: 2003-09-25 03:19:49


Alexander Nasonov wrote:
>
> // Translation_unit_1.cpp
> #include "static_list.hpp"
> static_list<char const*>::insert filename1("Translation_unit_1.cpp");
>
>
> // Translation_unit_2.cpp
> #include "static_list.hpp"
> static_list<char const*>::insert filename2("Translation_unit_2.cpp");
>
> Both translation units include static_list.hpp. Later, when you call
> static_list<char const*>::begin you are calling it as a function defined
> inline in both translation units. At least yesterday it was my argument
> against this paragraph in standard:
> [skiped]

One little remark. Currently, begin/end/size are not used in
Translation_unit_1.cpp and Translation_unit_2.cpp. I can force it in future
versions of static_list.hpp.

-- 
Alexander Nasonov
Remove minus and all between minus and at from my e-mail for timely response

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