Boost logo

Boost Users :

From: hicks (hicks_at_[hidden])
Date: 2002-02-19 04:20:19


Hello,

I am curious as to the conditions under which an iterator adaptor for
permutations
results in a savings of time and labor, or a clearer program.

Would anybody be so kind as to show an example?

Yours Sincerely,
Craig Hicks
KGK Tokyo

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 >
>>class foo
>>{
>>// ...
>>};
>>
>>but VC6 tells me "F : template parameter can never be initialized"
>>why?
>>
>
>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.
>
> Doug
>
>
>Info: <http://www.boost.org>
>Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
>Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
>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