Skip to content

stdex-v0.2.0 - build 0.0.64

Pre-release
Pre-release
Compare
Choose a tag to compare

Added

  • to_string and to_wstring now accept static arrays

  • build script for Borland C++ Builder compiler

  • <cstdint> header:

    • intmax_t, uintmax_t
    • int8_t, uint8_t
    • int16_t, uint16_t
    • int32_t, uint32_t
    • int64_t, uint64_t
    • int_least8_t, uint_least8_t
    • int_least16_t, uint_least16_t
    • int_least32_t, uint_least32_t
    • int_least64_t, uint_least64_t
    • int_fast8_t, uint_fast8_t
    • int_fast16_t, uint_fast16_t
    • int_fast32_t, uint_fast32_t
    • int_fast64_t, uint_fast64_t
    • intptr_t, uintptr_t

All types are only in stdex namespace. Type is incomplete or absent if it is not supported.

    • STDEX_INTMAX_MIN, STDEX_INTMAX_MAX, STDEX_UINTMAX_MAX
    • STDEX_INT{N}_MIN, STDEX_INT{N}_MAX, STDEX_UINT{N}_MAX
    • STDEX_INT_LEAST{N}_MIN, STDEX_INT_LEAST{N}_MAX, STDEX_UINT_LEAST{N}MAX
    • STDEX_INT_FAST{N}_MIN, STDEX_INT_FAST{N}_MAX, STDEX_UINT_FAST{N}_MAX
    • STDEX_INTPTR_MIN, STDEX_INTPTR_MAX, STDEX_UINTPTR_MAX
    • STDEX_INTMAX_C(), STDEX_UINTMAX_C(), STDEX_INT{N}_C(), STDEX_UINT{N}_C()

Where {N} is one in 8, 16, 32, 64 (if present). Defines are invalid or absent if type is not supported.

Changed

  • fixed bugs with to_string and to_wstring for (w)c-strings and (w)stringstream implementation
  • "fixed" is_union implementation with nasty compiler-specific intrinsic (still returns true for classes if compiler has no intrinsic)
  • changed pthread-win32 submodule dependency to my fork (origin have not been updated since forever)
  • predefined types for ratio (like yocto, milli, kilo, exa etc.) are now incomplete if are not supported (too large or too small)
  • all build scripts now work correctly
  • fixed internal variables names with underscores

Removed

  • <stdint_ex.h> for <cstdint.hpp>/<cstdint>

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).