On 10/27/2010 08:16 PM, Pradeep Hodigere wrote: > yarray.hpp: In constructor ‘zmq::yarray_t<T>::yarray_t() [with T = > zmq::socket_base_t]’: > app_thread.cpp:64: instantiated from here > yarray.hpp:40: error: default argument for parameter of type > ‘std::allocator<zmq::socket_base_t*>&’ has type > ‘std::allocator<zmq::socket_base_t*>’
Hm. gcc 4.4.3 seems to have no problem with that. I have no idea why supplying a temporary object (T) should not work with a function that requires a reference (T&). Any ideas anyone? Is it just a gcc bug or something more fundamental? Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
