On Oct 6, 2014, at 10:56 AM, Brian Geffon wrote:
> James, I think the problem of requiring std::shared_ptr is that it wont
> work with some older compilers without adding --std=c++0x, such as g++ 4.4.x
In that case, I think you should check for what you need at build time and puke
if it is not
James, I think the problem of requiring std::shared_ptr is that it wont
work with some older compilers without adding --std=c++0x, such as g++ 4.4.x
Brian
On Mon, Oct 6, 2014 at 8:21 AM, James Peach wrote:
> On Oct 3, 2014, at 9:06 PM, Brian Geffon wrote:
>
> > Hey all,
> > So there is a weird
On Oct 3, 2014, at 9:06 PM, Brian Geffon wrote:
> Hey all,
> So there is a weird situation we're in with the c++ api where it has a
> dependency on shared_ptr which can exist in memory or tr1/memory and
Just stop doing this. tr1 is ancient, so require std::shared_ptr in order to
build the C++ A
Saturday, October 4, 2014, 10:57:27 AM, you wrote:
> Make one of your public include files autoconf generated? Like we do for the
> C APIs definitions file.
Close, but I think what would be better is to combine this with Brian's
original thought.
So in Brian's shared pointer header, he has bas
Make one of your public include files autoconf generated? Like we do for the C
APIs definitions file.
Just a thought.
-- Leif
> On Oct 3, 2014, at 10:06 PM, Brian Geffon wrote:
>
> Hey all,
> So there is a weird situation we're in with the c++ api where it has a
> dependency on shared_ptr
Hey all,
So there is a weird situation we're in with the c++ api where it has a
dependency on shared_ptr which can exist in memory or tr1/memory and
similarly in the namespace std:: and std;:tr1::, so in the c++ api's
shared_ptr.h file we have the following mess:
#include "ink_autoconf.h"
#if HAV
Hey all,
So there is a weird situation we're in with the c++ api where it has a
dependency on shared_ptr which can exist in memory or tr1/memory and
similarly in the namespace std:: and std;:tr1::, so in the cppapi's
shared_ptr.h file we have the following mess:
#include "ink_autoconf.h"
#if HAVE