Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] problem with templated recursive transform
From: Eric Niebler (eric_at_[hidden])
Date: 2009-02-06 14:28:57


Daniel Oberhoff wrote:
> I placed a zip-file here
> with the files here:
>
> http://danieloberhoff.de/files/for_eric
>
> There are four headers and a test-suite, based on cppunit. The
> expression that breaks is on line 59. Makefile is also there. If that is
> too messy for you I can try to trim it down to just this problem. The
> class that breaks is at the end of CPUDataNDExpressionIterators.hpp.

Please try to reduce the problem as much as you can, and also keep in
mind that I don't have cppunit.

>> Whether and how to conceptify Proto is an open question. So I'm sorry to
>> say that it's not at all certain that C++0x will bring better error
>> messages for Proto.
>
> I was actually fearing that. But in this case: wouldn't it somehow be
> possible to state
>
> "your type is not callable"
>
> or something like that?

Possibly. I haven't looked into it.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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