December 12th, 2013, 8:20 pm
QuoteOriginally posted by: outrunThis is great!!I'll get back to all issues, here is the first>c:\daniel\software\prng\prng_engine.hpp(342): warning C4521: 'sitmo:rng_engine' : multiple copy constructors specifiedI initially has a single copy constructorexplicit prng_engine(const prng_engine& x)but I also need to have a constructor that accepts a seed_sequence argument, and that seed_sequence could be any typetemplate<class Seq> explicit prng_engine(Seq& q)the problem was that for some reason the copy constructor was called with a non-const argument, so it didn't match with, and hence instantiated the template constructor.I decided to explicitly add a non-const copy constructor to prevent this,.. but now you get a warning. Maybe I need to study this cause a bit more.Maye ctors witha) const &b) pointer *??