functional (3ea9485e) functional (a2534f0b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 18 unchanged lines hidden (view full) ---

27 #include_next <functional>
28#elif defined(_MSC_VER)
29 #include <../../VC/include/functional>
30 namespace std { using tr1::hash; }
31#if 0 // TODO: enable only when std::_Swap_adl is not available
32 // note: VS2008SP1 has known problems after a security update (KB971092,KB974479,KB974223)
33 namespace std{ template<class _T> void _Swap_adl(_T& l, _T& r) {swap(l,r);} }
34#endif
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 18 unchanged lines hidden (view full) ---

27 #include_next <functional>
28#elif defined(_MSC_VER)
29 #include <../../VC/include/functional>
30 namespace std { using tr1::hash; }
31#if 0 // TODO: enable only when std::_Swap_adl is not available
32 // note: VS2008SP1 has known problems after a security update (KB971092,KB974479,KB974223)
33 namespace std{ template<class _T> void _Swap_adl(_T& l, _T& r) {swap(l,r);} }
34#endif
35#elif defined(__cplusplus) && (__cplusplus >= 201103L)
36 #include_next <functional>
35#else // fall back to boost/tr1
36 #include <boost/tr1/tr1/functional>
37 #include <boost/functional/hash.hpp>
38#endif
39
40
41#ifndef NO_STLPORT4_EMULATION
42

--- 30 unchanged lines hidden ---
37#else // fall back to boost/tr1
38 #include <boost/tr1/tr1/functional>
39 #include <boost/functional/hash.hpp>
40#endif
41
42
43#ifndef NO_STLPORT4_EMULATION
44

--- 30 unchanged lines hidden ---