Trass3r Wrote: > > 2. What is the reason for Phobos defining param funcs as template > params? > > Correct me if I'm wrong but there's no way to pass an arbitrary > function to a function in a type-safe way. If you use pointers and > casts you can't check if the passed function meets certain > requirements (parameters, return type, attributes, etc.)
How do you not pass them in a safe manner? If you are casting things, of course you don't get type safety.