Removed obsolete file

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@573 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-11-04 00:57:30 +00:00
parent ebed226f9e
commit e34534598d
4 changed files with 0 additions and 36 deletions

View file

@ -9,7 +9,6 @@
#ifndef MOCK_IS_FUNCTOR_HPP_INCLUDED
#define MOCK_IS_FUNCTOR_HPP_INCLUDED
#include "yes_no_type.hpp"
#include <boost/function_types/is_callable_builtin.hpp>
#include <boost/mpl/has_xxx.hpp>
#include <boost/mpl/bool.hpp>

View file

@ -1,31 +0,0 @@
// http://turtle.sourceforge.net
//
// Copyright Mathieu Champlon 2011
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef MOCK_YES_NO_TYPE_HPP_INCLUDED
#define MOCK_YES_NO_TYPE_HPP_INCLUDED
#include <boost/static_assert.hpp>
namespace mock
{
namespace detail
{
typedef char no_type;
struct yes_type
{
char no_type[2];
};
BOOST_STATIC_ASSERT( sizeof( yes_type ) != sizeof( no_type ) );
template< typename T > void operator,( yes_type, const T& );
no_type operator,( yes_type, yes_type );
no_type operator,( no_type, yes_type );
}
} // mock
#endif // MOCK_YES_NO_TYPE_HPP_INCLUDED