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:
aramis_acg
2010-04-02 00:17:58 +00:00
parent 4bb7cbb422
commit bb5aca8a17
3 changed files with 135 additions and 2 deletions

View File

@@ -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