Skip to content

Commit 284fc00

Browse files
committed
Remove <concepts> dependency
1 parent 76cfc87 commit 284fc00

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

inc/__helpers.hpp

Lines changed: 0 additions & 12 deletions
This file was deleted.

inc/generator.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ using namespace experimental;
1010
#include <coroutine>
1111
#endif
1212

13-
#include "__helpers.hpp"
1413
#include "type_traits.hpp"
1514
#include <exception>
1615

1716
/**
1817
* \brief The namespace containing all of fpgen's code.
1918
*/
2019
namespace fpgen {
21-
#if _FPGEN_USE_CONCEPTS
2220
/**
2321
* \brief The main generator type.
2422
*
@@ -32,10 +30,7 @@ namespace fpgen {
3230
* \tparam T The value type for the generator. This should satisfy
3331
* `std::copyable`, or on (older) CLang versions, `std::is_copy_assignable<T>`.
3432
*/
35-
template <std::copyable T> class generator {
36-
#else
3733
template <typename T, typename _ = type::is_generator_type<T>> class generator {
38-
#endif
3934
public:
4035
/**
4136
* \brief The promise type for the generator.

0 commit comments

Comments
 (0)