
4 Oct
2007
4 Oct
'07
12:04 a.m.
Why not use approach similar (if not based upon) named function parameters:
throw my_error().data(( tag_errno = errno, tag_name = name, .... ))
That's not bad at all, and seems totally possible. Thanks for the suggestion.
I also strongly in favor boost::optional instead of pointer result type.
What is the problem with the pointer? Emil Dotchevski