Re: [Rdkit-discuss] SmilesToMol runtime error

2012-08-03 Thread DAvid Cosgrove
Hi, It’s a minor point in the discussion, maybe, but Meyers’ ‘More Effective C++’ recommends always catching exceptions by reference. It’s quicker than catching by value because it avoids copy construction, and, more importantly, it avoids the problem of class slicing if a derived class

Re: [Rdkit-discuss] SmilesToMol runtime error

2012-08-03 Thread Greg Landrum
On Fri, Aug 3, 2012 at 6:17 AM, DAvid Cosgrove davidacosgrov...@gmail.com wrote: Hi, It’s a minor point in the discussion, maybe, but Meyers’ ‘More Effective C++’ recommends always catching exceptions by reference. It’s quicker than catching by value because it avoids copy construction,

Re: [Rdkit-discuss] SmilesToMol runtime error

2012-08-03 Thread Gonzalo Colmenarejo-Sanchez
Thanks Paul, David and Greg. It's much useful. Greg, are you planning to add a Getting started with the RDKit in C++ chapter in the documentation? It would help C++ users a lot. Thanks, Gonzalo -Original Message- From: Greg Landrum [mailto:greg.land...@gmail.com] Sent: 03 August