Flutter Engine
The Flutter Engine
fml
size.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_FML_SIZE_H_
6
#define FLUTTER_FML_SIZE_H_
7
8
#include <cstddef>
9
10
namespace
fml
{
11
12
template
<
typename
T, std::
size_t
N>
13
constexpr
std::size_t
size
(
T
(&array)[
N
]) {
14
return
N
;
15
}
16
17
}
// namespace fml
18
19
#endif
// FLUTTER_FML_SIZE_H_
N
#define N
Definition:
beziers.cpp:19
fml
Definition:
ascii_trie.cc:9
fml::size
constexpr std::size_t size(T(&array)[N])
Definition:
size.h:13
T
#define T
Definition:
precompiler.cc:65
Generated on Sun Jun 23 2024 21:55:02 for Flutter Engine by
1.9.4