On 4 Jul 2012, at 09:35, Marc Hohl wrote: > Alternatively, I have a scheme function returning a boolean. This function has > to be called from inside some c++-routines, but this doesn't work yet (see > below). ... > I'll have a look in the train today and write you a more detailed response. > In the meantime, ask the devel list if the gcc compiler can handle the types > of anonymous functions specified here: > > http://en.wikipedia.org/wiki/Anonymous_function#C.2B.2B
GCC 4.5 and later, see "lambda" here: http://gcc.gnu.org/projects/cxx0x.html But it will take some time before all compilers can handle this. For example, those that are provided by Xcode on Mac OS X do not, except for the latest preview, which only works on 10.7 and later. Hans _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel