stdex-v0.2.8 - build 0.0.90
Pre-release
Pre-release
[0.2.8] - 2021-01-26
Added
-
<mutex>
header: -
stdex::try_lock
-
stdex::lock
-
<ctime>
header: -
stdex::timespec
-
STDEX_CLOCKS_PER_SEC
asCLOCKS_PER_SEC
-
big integer implementation for
stdex::chrono
: -
- more precise clocks for compilers without 64 bit integers
-
- more precise sleeps for all time-dependant functions and classes (like
stdex::timed_mutex
and such)
- more precise sleeps for all time-dependant functions and classes (like
-
- more precise ratio arithmetics for compilers without 64 bit integers
-
moar tests to the god of tests
Changed
- trying to be more clear why
std::terminate
has been raised (affects DEBUG mode only) stdex::condition_variable
correct waitable functionsstdex::chrono::high_resolution_clock
defined in compile-time as most accurate clock fromstdex::chrono::system_clock
andstdex::chrono::steady_clock
- sync sleep clocks with
stdex::chrono
clocks stdex::is_const
is now correcty detecting functions as non-const for bugged compilersstdex::is_volatile
is now correcty detecting functions as non-volatile for bugged compilersstdex::is_function
is now correcty detecting functions
Fixed
-
<chrono>
header: -
stdex::chrono
clocks in general now are more precise and correct
-
stdex::chrono::system_clock::is_steady
andstdex::chrono::steady_clock::is_steady
flags are now correct for Windows
-
stdex::chrono::system_clock
now converts to and fromtime_t
properly
-
stdex::chrono::duration
incorrect constructor fix
-
<system_error>
header: -
stdex::error_code
andstdex::error_condition
have now proper comparison operators. That fix restrict compiler from using this comparison operators for user-provided types.
-
stdex::is_error_code_enum
overload forstdex::errc
is now correct
-
stdex::is_enum
detection for integral types
-
stdex::error_code
construction
-
<ctime>
header: -
- correct
swprintf
detection - fixing compiler specific implementations ofswprintf
- correct
-
qv-qualified array compiler bug
Release contains static prebuilded library for Visual Studio's with pthreads-win32. To include in your vs project add 'pthread/include' as global headers path (Configuration Properties->VC++ Directories->Include Directories or to enviromental variable INCLUDE).