|
Boost : |
Subject: Re: [boost] [spirit] VC10 ICE when defining a Karma/Qi rule in a 0x lambda
From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2010-04-29 10:47:08
The issue is with calling template functions with default parameters
from lambdas (where the type of the default parameter has a user
defined destructor).
User workaround:
Explicitly pass the a value of the argument equivilent to the default
instead of using the default argument.
Library maintainer workaround:
A function with default arguments can be trivially converted to
overloaded functions without default parameters.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk