2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-19 04:22:12 +00:00

Merge pull request #70 from boostorg/function

Remove uses of boost::function
This commit is contained in:
Matt Borland
2024-01-11 11:06:44 +01:00
committed by GitHub
4 changed files with 4 additions and 8 deletions

View File

@@ -81,7 +81,6 @@ jobs:
compiler: clang-12, cxxstd: '03,11,14,17,20', os: ubuntu-20.04, stdlib: libc++, install: 'clang-12 libc++-12-dev libc++abi-12-dev' }
# OSX, clang
- { compiler: clang, cxxstd: '03,11,14,17,2a', os: macos-11 }
- { compiler: clang, cxxstd: '03,11,14,17,20', os: macos-12 }
- { name: MacOS w/ clang and sanitizers,
compiler: clang, cxxstd: '03,11,14,17,20,2b', os: macos-13, sanitize: yes }

View File

@@ -18,7 +18,6 @@ target_link_libraries(boost_numeric_odeint
Boost::compute
Boost::config
Boost::core
Boost::function
Boost::fusion
Boost::iterator
Boost::math

View File

@@ -19,8 +19,7 @@
#define BOOST_NUMERIC_ODEINT_INTEGRATE_OBSERVER_COLLECTION_HPP_INCLUDED
#include <vector>
#include <boost/function.hpp>
#include <functional>
namespace boost {
namespace numeric {
@@ -31,7 +30,7 @@ class observer_collection
{
public:
typedef boost::function< void( const State& , const Time& ) > observer_type;
typedef std::function< void( const State& , const Time& ) > observer_type;
typedef std::vector< observer_type > collection_type;
void operator()( const State& x , Time t )

View File

@@ -19,8 +19,7 @@
#define BOOST_NUMERIC_ODEINT_INTEGRATE_OBSERVER_COLLECTION_HPP_INCLUDED
#include <vector>
#include <boost/function.hpp>
#include <functional>
namespace boost {
namespace numeric {
@@ -31,7 +30,7 @@ class observer_collection
{
public:
typedef boost::function< void( const State& , const Time& ) > observer_type;
typedef std::function< void( const State& , const Time& ) > observer_type;
typedef std::vector< observer_type > collection_type;
void operator()( const State& x , Time t )