Boost Users :
From: hicks (hicks_at_[hidden])
Date: 2002-02-19 04:20:19
I am curious as to the conditions under which an iterator adaptor for
results in a savings of time and labor, or a clearer program.
Would anybody be so kind as to show an example?
Douglas Gregor wrote:
>On Monday 18 February 2002 07:21 am, you wrote:
>>I want to use boost.function object as a parameter of class template:
>>template< function1<void,int> F >
>>but VC6 tells me "F : template parameter can never be initialized"
>The template parameter 'F' is a nontype template parameter. Nontype template
>parameters can only be of integral type. boost::function1<void, int> is a
>class type, so it cannot be used as the type of a nontype template parameter.
>We might be able to suggest an alternative construct if you give us more
>information about the problem you are trying to solve.
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
[Non-text portions of this message have been removed]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net