
14 Jun
2007
14 Jun
'07
9:43 p.m.
Eric Niebler wrote:
JOAQUIN LOPEZ MU?Z wrote:
Maybe the following is not relevant to the discussion, but I recall a post by Anthony Williams which shows how to create a _1-like global entity in an entirely ODR-abiding way:
This is not a general technique. For applications like Lambda, things like _1[i] should be possible, and that's not possible if _1 is a pointer to an inline function.
Yep. _1 == _2, _1 == 0 are even worse because they compile. There is also template<class T> void f( T const & t ) { T t2( t ); } int main() { f( _1 ); }