diff --git a/README.md b/README.md index cef25d1..9f6cf7f 100644 --- a/README.md +++ b/README.md @@ -556,7 +556,7 @@ You can also use `std::bind` to bind the this pointer and any parameter placehol If you wish to pass a `reference` parameter, you must wrap it in `std::ref`. If you wish to provide a `constexpr` array, you will need to use a simple function prototype, since `std::function` is not constexpr (see unit tests for examples). -> [!TIP] +> [!IMPORTANT] > Your `std::array` of `std::tuple` should be sorted by enum. > The `dispatch` method performs a binary search on the array. Complexity for a sorted array is at most $2log_2(N)+O(1)$ comparisons. > If the array is _not_ sorted, complexity is linear.