Skip to content

Commit

Permalink
Doxygen: Ignore std::function
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jul 4, 2024
1 parent 699d036 commit 1389b6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/batch_evaluators/default_bfe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ vector_double default_bfe_cpp_impl(const problem &p, const vector_double &dvs)

} // namespace

/// @cond
std::function<vector_double(const problem &, const vector_double &)> default_bfe_impl = &default_bfe_cpp_impl;
/// @endcond

} // namespace detail

Expand Down
2 changes: 2 additions & 0 deletions src/detail/gte_getter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ boost::any default_gte_getter()

} // namespace

/// @cond
std::function<boost::any()> gte_getter = &default_gte_getter;
/// @endcond

} // namespace detail

Expand Down
4 changes: 4 additions & 0 deletions src/island.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ boost::any default_wait_raii_getter()

// NOTE: the default implementation just returns a defected boost::any, whose ctor and dtor
// will have no effect.
/// @cond
std::function<boost::any()> wait_raii_getter = &default_wait_raii_getter;
/// @endcond

namespace
{
Expand All @@ -184,8 +186,10 @@ void default_island_factory(const algorithm &algo, const population &pop, std::u
} // namespace

// Static init.
/// @cond
std::function<void(const algorithm &, const population &, std::unique_ptr<detail::isl_inner_base> &)> island_factory
= &default_island_factory;
/// @endcond

namespace
{
Expand Down

0 comments on commit 1389b6a

Please sign in to comment.