Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:12

0001 // Copyright 2018-2019 Hans Dembinski
0002 //
0003 // Distributed under the Boost Software License, Version 1.0.
0004 // (See accompanying file LICENSE_1_0.txt
0005 // or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_HISTOGRAM_DETAIL_SQUARE_HPP
0008 #define BOOST_HISTOGRAM_DETAIL_SQUARE_HPP
0009 
0010 namespace boost {
0011 namespace histogram {
0012 namespace detail {
0013 
0014 template <class T>
0015 T square(T t) {
0016   return t * t;
0017 }
0018 
0019 } // namespace detail
0020 } // namespace histogram
0021 } // namespace boost
0022 
0023 #endif