Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
Catch::Generators::pf Namespace Reference

Functions

template<typename T , typename... Args>
std::unique_ptr< T > make_unique (Args &&...args)
 

Function Documentation

template<typename T , typename... Args>
std::unique_ptr<T> Catch::Generators::pf::make_unique ( Args &&...  args)

Definition at line 3053 of file catch.hpp.

References run_tests::args, and growth_allz::T.

Referenced by Catch::Generators::generate(), and Catch::Generators::range().

3053  {
3054  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
3055  }