|
||||
File indexing completed on 2024-11-15 09:19:38
0001 // 0002 // Copyright (c) 2019-2023 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_DAYS_HPP 0009 #define BOOST_MYSQL_DAYS_HPP 0010 0011 #include <chrono> 0012 0013 namespace boost { 0014 namespace mysql { 0015 0016 /** 0017 * \brief Duration representing a day (24 hours). 0018 * \details Suitable to represent the range of dates MySQL offers. 0019 * May differ in representation from `std::chrono::days` in C++20. 0020 */ 0021 using days = std::chrono::duration<int, std::ratio<3600 * 24>>; 0022 0023 } // namespace mysql 0024 } // namespace boost 0025 0026 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |