python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Using a literal suffix name when defining a static constexpr class member
I'd like to define a static constexpr data member in a class, like
class my_protocol
{
public:
static constexpr auto comm_timeout = 50ms;
...
};
Is there a good way to avoid the using namespa...
Simon Richter
Votes: 0
Answers: 1
How is std::time_t different from time point in C++?
How is std::time_t different from time point representing the current time?
Are they not the same thing i.e epoch from same start Jan 1 1970?
Test
Votes: 0
Answers: 1
Problem parsing date/time with timezone name using Howard Hinnant's library
I'm writing a method to parse date/time strings in a variety of formats.
std::chrono::system_clock::time_point toTimePoint(const std::string str) {
... a bunch of code that determines the format o...
Joseph Larson
Votes: 0
Answers: 1
Chrono library multithreading time derivation limitations?
I am trying to solve the problem with a time derivation in a multithreaded setup. I have 3 threads, all pinned to different cores. The first two threads (reader_threads.cc) run in the infinite while l...
eleftheria15
Votes: 0
Answers: 0