MapLibre Native Core
ignore.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <initializer_list>
4
5
namespace
mbgl
{
6
namespace
util {
7
14
template
<
class
... Ts>
void
ignore
(Ts&&...) {}
15
16
// std::initializer_list overload, for situations where you need sequenced
17
// modifications.
18
template
<
class
T>
void
ignore
(
const
std::initializer_list<T>&) {}
19
20
// Handle the zero-argument case.
21
inline
void
ignore
(
const
std::initializer_list<int>&) {}
22
23
}
// namespace util
24
}
// namespace mbgl
mbgl::util::ignore
void ignore(Ts &&...)
Definition:
ignore.hpp:14
mbgl
Definition:
actor.hpp:15
include
mbgl
util
ignore.hpp
MapLibre website
|
GitHub repository