codex
Loading...
Searching...
No Matches
test.cpp File Reference
#include "test.hpp"
#include <array>
#include <sstream>
#include "bsearch.hpp"
Include dependency graph for test.cpp:

Namespaces

namespace  anonymous_namespace{test.cpp}
 

Typedefs

using anonymous_namespace{test.cpp}::T = int
 
using anonymous_namespace{test.cpp}::V = std::array<T, 8>
 
using anonymous_namespace{test.cpp}::I = typename V::const_iterator
 
using anonymous_namespace{test.cpp}::bsearch_fn = bool(I, I, const T&)
 

Variables

constexpr V anonymous_namespace{test.cpp}::v = {0, 1, 2, 3, 4, 5, 6, 7}
 
constexpr std::array anonymous_namespace{test.cpp}::fns = {codex::bsearch<I, I, T>, std::binary_search<I, T>}