
7 Jun
2011
7 Jun
'11
5:16 p.m.
From: mpbecey7gu@snkmail.com
What compiler are you using? I'm pretty sure Microsoft's doesn't support uniform initialization syntax. But in this case, writing (r) instead and adding the constructor to RangeWrapper should work just fine. It's just less simple .
I use gcc 4.5 which supports uniform initialization. But as you say, you can just replace it with a constructor if necessary. Regards, Nate.