Server IP : 104.21.38.3 / Your IP : 108.162.226.18 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/boost/boost_1_59_0/boost/tr1/ |
Upload File : |
// (C) Copyright John Maddock 2005. // 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) #ifndef BOOST_TR1_ARRAY_HPP_INCLUDED # define BOOST_TR1_ARRAY_HPP_INCLUDED # include <boost/tr1/detail/config.hpp> #ifdef BOOST_HAS_TR1_ARRAY # if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) # include_next BOOST_TR1_HEADER(array) # else # include <boost/tr1/detail/config_all.hpp> # include BOOST_TR1_STD_HEADER(BOOST_TR1_PATH(array)) # endif #else #include <boost/array.hpp> #include <boost/static_assert.hpp> #include <boost/type_traits/integral_constant.hpp> #include <boost/detail/workaround.hpp> namespace std{ namespace tr1{ using ::boost::array; #if !BOOST_WORKAROUND(__BORLANDC__, < 0x0582) // [6.1.3.2] Tuple creation functions using ::boost::swap; #endif #if !defined(BOOST_TR1_USE_OLD_TUPLE) }} namespace boost{ namespace fusion{ #endif // [6.2.2.5] Tuple interface to class template array template <class T> struct tuple_size; // forward declaration template <int I, class T> struct tuple_element; // forward declaration template <class T, size_t N> struct tuple_size< ::boost::array<T, N> > : public ::boost::integral_constant< ::std::size_t, N>{}; template <int I, class T, size_t N> struct tuple_element<I, ::boost::array<T, N> > { #if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)) BOOST_STATIC_ASSERT(I < (int)N); BOOST_STATIC_ASSERT(I >= 0); #endif typedef T type; }; template <int I, class T, size_t N> T& get( ::boost::array<T, N>& a) { BOOST_STATIC_ASSERT(I < N); BOOST_STATIC_ASSERT(I >= 0); return a[I]; } template <int I, class T, size_t N> const T& get(const array<T, N>& a) { BOOST_STATIC_ASSERT(I < N); BOOST_STATIC_ASSERT(I >= 0); return a[I]; } #if !defined(BOOST_TR1_USE_OLD_TUPLE) }} namespace std{ namespace tr1{ using ::boost::fusion::tuple_size; using ::boost::fusion::tuple_element; using ::boost::fusion::get; #endif } } // namespaces #endif #endif