]> git.lyx.org Git - lyx.git/blob - src/support/any.h
Let paragraph::requestSpellcheck() consider contained insets
[lyx.git] / src / support / any.h
1 // -*- C++ -*-
2 /**
3  * \file any.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Yuriy Skalko
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_ANY_H
13 #define LYX_ANY_H
14
15 #if __cplusplus >= 201703L
16
17 #include <any>
18
19 namespace lyx {
20 using std::any;
21 using std::any_cast;
22 }
23
24 #else
25
26 #include <boost/any.hpp>
27
28 namespace lyx {
29 using boost::any;
30 using boost::any_cast;
31 }
32
33 #endif // __cplusplus >= 201703L
34
35 #endif // LYX_ANY_H