Boost logo

Boost :

From: Gennadiy Rozental (gennadiy_at_[hidden])
Date: 2002-08-20 03:31:20

> Ah. Well, I guess that's what's happening. I'm still surprised that it
> should be instantiating unused templates; I would think huge amounts of my
> own code would be broken if that were the case.

gcc fails to compile following code:

// ****************** start ******************
template<typename FPT, typename ToleranceSource>
inline bool
compare_and_continue_impl( FPT left, FPT right, ToleranceSource
tolerance_src )
    close_at_tolerance<FPT> pred( tolerance_src );
// ****************** end ******************

Here an error:
a.cpp: In function `bool compare_and_continue_impl(FPT, FPT,
a.cpp:6: parse error before `>' token

Does it correct?


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