FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
regex.hpp
1 /*
2  * Copyright (C) 2014, Siemens AG
3  * Author: Daniele Fognini, Cedric Bodet, Johannes Najjar
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12  * See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 #ifndef REGEX_HPP_
20 #define REGEX_HPP_
21 
22 #define USEBOOST
23 #ifdef USEBOOST
24 
25 #include <boost/regex.hpp>
26 
33 namespace rx = boost;
34 #else
35  #include <regex>
36  namespace rx = std;
37 #endif
38 
39 
40 #endif /* REGEX_HPP_ */