Click here to Skip to main content
15,867,686 members

Comments by MichCl (Top 23 by date)

MichCl 19-Jan-15 9:13am View    
I tried this too
m_spVectorIFD.push_back(std::shared_ptr<ifd>(new IFD(rspIFD.get()))); //add item to vector and get the same error message as above:

error C2664: 'IFD::IFD(const IFD &)' : cannot convert argument 1 from 'IFD *' to 'const IFD &'
MichCl 19-Jan-15 9:07am View    
I tried this too and it didn't work either: m_spVectorIFD.push_back(rspIFD.get()); //add item to vector

error for that says: "error C2664: 'void std::vector<std::shared_ptr<ifd>,std::allocator<_Ty>>::push_back(const std::shared_ptr<ifd> &)' : cannot convert argument 1 from 'IFD *' to 'std::shared_ptr<ifd> &&'
"
MichCl 19-Jan-15 8:57am View    
Sorry @KarstenK, I'm trying to put a shared pointer into a vector of shared pointers. Why does it think it needs a ref?
MichCl 18-Jun-14 9:27am View    
It seems like there should be a good php way to do it using the php arrays and such that are used with GET. I found this example, but it's not making use of the php workings behind the scenes, so to speak. http://tisuchi.wordpress.com/2011/11/30/form-data-with-oo-php/
MichCl 18-Jun-14 8:10am View    
Thank you that was very helpful