www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - newbie: howto boost::mpl::find_if in D?

reply Larry Evans <cppljevans cos-internet.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Thie first attachment gives compile errors in 2nd attachment.
What am I doing wrong?
Jan 10 2007
next sibling parent Sean Kelly <sean f4.ca> writes:
Larry Evans wrote:
 Thie first attachment gives compile errors in 2nd attachment.
 What am I doing wrong?

I think you attached the wrong files. find_if_proto.cpp will not compile in D because it's C++ code. Sean
Jan 10 2007
prev sibling parent reply Larry Evans <cppljevans cos-internet.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 01/10/2007 12:13 PM, Larry Evans wrote:
 Thie first attachment gives compile errors in 2nd attachment.
 What am I doing wrong?

the .d file.
Jan 10 2007
parent Larry Evans <cppljevans cos-internet.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 01/10/2007 12:17 PM, Larry Evans wrote:
 On 01/10/2007 12:13 PM, Larry Evans wrote:
 
 Thie first attachment gives compile errors in 2nd attachment.
 What am I doing wrong?

OOPS. Wrong files attached. The attachment to this one shows the .d file.

The attachment compiles with all asserts passing. The problem was just prepending alias to Predicate template formal arg.
Jan 12 2007