A Predicate
C# make this easy by using anonymous methods in C# 2.0 and lamda expressions in C# 3.0 but C++ language doesn't have this feature (C++/CLI is base on C++ that doesn't have anonymous methods/lamda expressions)
In this example I demostrate using predicates in C++/CLI with Visual C++.Net 2008 to find items in a collection.
If your interested in C++/CLI then I suggest reading C++/CLI In Action.
Weekly Code List
No comments:
Post a Comment