diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-06 10:24:11 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-06 10:24:11 +0100 | 
| commit | 4538829ab86b5a1cd4e845e7eab165029c9d6d46 (patch) | |
| tree | bbadf39aed0610c8f8f7b41fefff47773b8ac205 /libcutl/cutl/details/boost/regex/v4/protected_call.hpp | |
| parent | 23d41842168ac1a1580111b9c5c73500ceee3d57 (diff) | |
| parent | aad5ad9bf0c02aa4e79bc6b7d6c934612fff4026 (diff) | |
Update upstream source from tag 'upstream/4.2.0'
Update to upstream version '4.2.0'
with Debian dir 1b38df7bbcf313223de3c50107ac0255090fe647
Diffstat (limited to 'libcutl/cutl/details/boost/regex/v4/protected_call.hpp')
| -rw-r--r-- | libcutl/cutl/details/boost/regex/v4/protected_call.hpp | 81 | 
1 files changed, 0 insertions, 81 deletions
| diff --git a/libcutl/cutl/details/boost/regex/v4/protected_call.hpp b/libcutl/cutl/details/boost/regex/v4/protected_call.hpp deleted file mode 100644 index fbf2a31..0000000 --- a/libcutl/cutl/details/boost/regex/v4/protected_call.hpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * - * Copyright (c) 2004 - * John Maddock - * - * Use, modification and distribution are subject to the  - * Boost Software License, Version 1.0. (See accompanying file  - * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - * - */ - - /* -  *   LOCATION:    see http://www.boost.org for most recent version. -  *   FILE         basic_regex_creator.cpp -  *   VERSION      see <cutl/details/boost/version.hpp> -  *   DESCRIPTION: Declares template class basic_regex_creator which fills in -  *                the data members of a regex_data object. -  */ - -#ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP -#define BOOST_REGEX_V4_PROTECTED_CALL_HPP - -#ifdef BOOST_MSVC -#pragma warning(push) -#pragma warning(disable: 4103) -#endif -#ifdef BOOST_HAS_ABI_HEADERS -#  include BOOST_ABI_PREFIX -#endif -#ifdef BOOST_MSVC -#pragma warning(pop) -#endif - -namespace cutl_details_boost{ -namespace re_detail{ - -class BOOST_REGEX_DECL abstract_protected_call -{ -public: -   bool BOOST_REGEX_CALL execute()const; -   // this stops gcc-4 from complaining: -   virtual ~abstract_protected_call(){} -private: -   virtual bool call()const = 0; -}; - -template <class T> -class concrete_protected_call -   : public abstract_protected_call -{ -public: -   typedef bool (T::*proc_type)(); -   concrete_protected_call(T* o, proc_type p) -      : obj(o), proc(p) {} -private: -   virtual bool call()const; -   T* obj; -   proc_type proc; -}; - -template <class T> -bool concrete_protected_call<T>::call()const -{ -   return (obj->*proc)(); -} - -} -} // namespace cutl_details_boost - -#ifdef BOOST_MSVC -#pragma warning(push) -#pragma warning(disable: 4103) -#endif -#ifdef BOOST_HAS_ABI_HEADERS -#  include BOOST_ABI_SUFFIX -#endif -#ifdef BOOST_MSVC -#pragma warning(pop) -#endif - -#endif | 
