1struct Dense { 2 static const unsigned int dim = 1; 3}; 4 5template <template <typename> class View, 6 typename Block> 7void operator+(float, View<Block> const&); 8 9template <typename Block, 10 unsigned int Dim = Block::dim> 11struct Lvalue_proxy { 12 operator float() const; 13}; 14 15void 16test_1d (void) 17{ 18 Lvalue_proxy<Dense> p; 19 float b; 20 b + p; 21} 22