« first day (1380 days earlier)      last day (1048 days later) » 

11:56 AM
Hi all! I'm writing a tool for my analysis, I'm not a programmer and this is my first attempt with templates and polymorphism so its probably bad coded (suggestions are welcome).
http://codepad.org/cxHx9SR2
http://codepad.org/OgZk1ANo
In this case, do I need the virtual destructor? I create objects like

std::shared_ptr<MonoJet<xAOD::Electron, xAOD::ElectronContainer> >
el = std::make_shared<MonoJetElectron>(m_event,"ElectronCollection");

and only initializing base class private members that are already deleted in the base class destructor
 
2 messages moved from Lounge<C++>
 
 
4 hours later…
4:19 PM
every time I read fabpot, I read it as "fapbot". which makes me wonder...
3
1 message moved from PHP
 
:20219539 Everyone does :)
 
:-P
 
bastard!
:D
4 messages moved from PHP
 

« first day (1380 days earlier)      last day (1048 days later) »