blob: d444ec6e597c2051c87f9f40d7234423baeea75e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace vespalib {
template <typename T, size_t N>
constexpr size_t arraysize(const T (&)[N]) { return N; }
} // namespace vespalib
|