|
||||
File indexing completed on 2025-01-18 09:39:31
0001 // (C) Copyright Matt Borland 2021. 0002 // Use, modification and distribution are subject to the 0003 // Boost Software License, Version 1.0. (See accompanying file 0004 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0005 0006 #ifndef BOOST_MATH_CCMATH_DETAIL_SWAP_HPP 0007 #define BOOST_MATH_CCMATH_DETAIL_SWAP_HPP 0008 0009 namespace boost::math::ccmath::detail { 0010 0011 template <typename T> 0012 inline constexpr void swap(T& x, T& y) noexcept 0013 { 0014 T temp = x; 0015 x = y; 0016 y = temp; 0017 } 0018 0019 } 0020 0021 #endif // BOOST_MATH_CCMATH_DETAIL_SWAP_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |