Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Iterator concept example in statistics
  • Loading branch information
mborland committed Oct 17, 2022
commit 046217c4432b38f637809dca0464eaa8a72bf918
5 changes: 5 additions & 0 deletions include/boost/math/concepts/concepts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <functional>
#include <type_traits>
#include <limits>
#include <iterator>
#include <boost/math/tools/config.hpp>
#include <boost/math/policies/policy.hpp>

Expand Down Expand Up @@ -151,6 +152,7 @@ concept policy = boost::math::policies::is_policy<T>::value;
#define BOOST_MATH_ARBITRARY_INTEGER boost::math::concepts::Aribitrary_integer_type
#define BOOST_MATH_ARBITRARY_REAL boost::math::concepts::Aribitrary_real_type
#define BOOST_MATH_POLICY boost::math::concepts::policy
#define BOOST_MATH_FORWARD_ITER std::forward_iterator
#define BOOST_MATH_REQUIRES(X, T) requires X<T>

#endif
Expand Down Expand Up @@ -214,7 +216,10 @@ concept policy = boost::math::policies::is_policy<T>::value;

#ifndef BOOST_MATH_POLICY
# define BOOST_MATH_POLICY typename
#endif

#ifndef BOOST_MATH_FORWARD_ITER
# define BOOST_MATH_FORWARD_ITER typename
#endif

#ifndef BOOST_MATH_REQUIRES
Expand Down
Loading