Simo 0.0.1
Loading...
Searching...
No Matches
BoostTypeIndexRuntimeCast.h
1/*
2 * Copyright 2026 Matteo Fusi and Contributors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef SIMO_BOOST_TYPE_INDEX_RUNTIME_CAST_HH
18#define SIMO_BOOST_TYPE_INDEX_RUNTIME_CAST_HH
19
20#if defined(__clang__)
21#pragma clang diagnostic push
22#pragma clang diagnostic ignored "-Winconsistent-missing-override"
23#elif defined(__GNUC__) || defined(__GNUG__)
24#pragma GCC diagnostic push
25#pragma GCC diagnostic ignored "-Wsuggest-override"
26#endif
27#include <boost/type_index/runtime_cast.hpp>
28
29#if defined(__clang__)
30#pragma clang diagnostic pop
31#elif defined(__GNUC__) || defined(__GNUG__)
32#pragma GCC diagnostic pop
33#endif
34
35#endif // SIMO_BOOST_TYPE_INDEX_RUNTIME_CAST_HH