Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected:
- virtual void terminate(std::chrono:milliseconds) = 0;
- public:
- template <typename Rep, typename Period>
- virtual bool terminate(chrono::duration<Rep, Period> timeout) {
- terminate(std::chrono_duration_cast<std::chrono:milliseconds>(timeout));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement