Add TinyFormatter, a convenience wrapper around std::stringstream's, intended to replace boost.format.
Fix non-standard friend declaration in noboost/shared_ptr. Deprecate boost.format workaround. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@632 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -54,7 +54,7 @@ namespace boost {
|
||||
static yes foo(DEST*);
|
||||
static no foo(...);
|
||||
|
||||
enum {result = sizeof foo((SRC*)0) == sizeof yes};
|
||||
enum {result = (sizeof(foo((SRC*)0)) == sizeof(yes) ? 1 : 0)};
|
||||
};
|
||||
|
||||
template <bool> struct enable_if {};
|
||||
@@ -74,7 +74,7 @@ namespace boost {
|
||||
template <class T>
|
||||
class shared_ptr
|
||||
{
|
||||
friend class shared_ptr;
|
||||
template <typename TT> friend class shared_ptr;
|
||||
public:
|
||||
|
||||
// provide a default construtctor
|
||||
|
||||
Reference in New Issue
Block a user