search::balanced should be constexpr

This commit is contained in:
Danny Robson 2021-04-07 12:52:24 +10:00
parent 3ec1c9591b
commit 67c5ef5d78
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ namespace cruft::search {
/// in the first instance (otherwise the algorithm will return `begin`
/// immediately. But it is not an error to do so.
template <typename IteratorT>
IteratorT
constexpr IteratorT
balanced (
IteratorT begin,
IteratorT const end,