/usr/include/deal.II/base/std_cxx1x/bind.h is in libdeal.ii-dev 6.3.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | //---------------------------------------------------------------------------
// $Id: bind.h 20202 2009-12-04 15:12:15Z bangerth $
// Version: $Name$
//
// Copyright (C) 2009 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
// to the file deal.II/doc/license.html for the text and
// further information on this license.
//
//---------------------------------------------------------------------------
#ifndef __deal2__std_cxx1x_bind_h
#define __deal2__std_cxx1x_bind_h
#include <base/config.h>
#ifdef DEAL_II_CAN_USE_CXX1X
# include <functional>
DEAL_II_NAMESPACE_OPEN
// in boost, the placeholders _1, _2, ... are in the global namespace. in
// C++0x, they are in namespace std::placeholders, which makes them awkward to
// use. import them into the deal.II namespace
using namespace std::placeholders;
DEAL_II_NAMESPACE_CLOSE
#else
#include <boost/bind.hpp>
DEAL_II_NAMESPACE_OPEN
namespace std_cxx1x
{
using boost::bind;
using boost::ref;
using boost::cref;
using boost::reference_wrapper;
}
DEAL_II_NAMESPACE_CLOSE
#endif
#endif
|