|
|
|||
File indexing completed on 2025-12-16 09:58:29
0001 // 0002 // Copyright (c) 2019-2025 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) 0003 // 0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0006 // 0007 0008 #ifndef BOOST_MYSQL_TIME_HPP 0009 #define BOOST_MYSQL_TIME_HPP 0010 0011 #include <boost/config.hpp> 0012 0013 #include <chrono> 0014 0015 namespace boost { 0016 namespace mysql { 0017 0018 /// Type representing MySQL `TIME` data type. 0019 using time = std::chrono::microseconds; 0020 0021 /// The minimum allowed value for \ref time. 0022 BOOST_INLINE_CONSTEXPR time min_time = -std::chrono::hours(839); 0023 0024 /// The maximum allowed value for \ref time. 0025 BOOST_INLINE_CONSTEXPR time max_time = std::chrono::hours(839); 0026 0027 } // namespace mysql 0028 } // namespace boost 0029 0030 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|