search::balanced should be constexpr
This commit is contained in:
parent
3ec1c9591b
commit
67c5ef5d78
@ -76,7 +76,7 @@ namespace cruft::search {
|
|||||||
/// in the first instance (otherwise the algorithm will return `begin`
|
/// in the first instance (otherwise the algorithm will return `begin`
|
||||||
/// immediately. But it is not an error to do so.
|
/// immediately. But it is not an error to do so.
|
||||||
template <typename IteratorT>
|
template <typename IteratorT>
|
||||||
IteratorT
|
constexpr IteratorT
|
||||||
balanced (
|
balanced (
|
||||||
IteratorT begin,
|
IteratorT begin,
|
||||||
IteratorT const end,
|
IteratorT const end,
|
||||||
|
Loading…
Reference in New Issue
Block a user