Conversation
Introduce a `daw::contract` class for validating preconditions at runtime. Includes a failure handler
Pulling bugfix back into v2
Introduce a constexpr function to handle leading zero count for uint128_t, ensuring compatibility with larger integers. Additionally, adjust `ToIota` initialization for consistency with type defaults.
Introduced support for `__builtin_clzg` where available, improving compatibility and performance. Removed redundant overloads and reorganized function definitions to streamline the implementation. This cleanup simplifies the logic while maintaining backward compatibility.
Previously, calling count_leading_zeroes with a zero input could lead to undefined behavior. This update adds a check for zero inputs and returns the bit count for the type in such cases, ensuring correct results and improved safety.
Replaced 'jammy' with 'noble' in LLVM repository URLs to match the correct distribution for Ubuntu 24.04.
Replaced `__has_builtin` with `DAW_HAS_BUILTIN` to ensure correct macro usage. This improves compatibility
Introduce utility functions for ASCII character checks and transformations, such as detecting digits, letters, alphanumerics, printable characters, and case conversion. Included a test file to verify the correctness of these utilities.
The previous logic excluded the space character (ASCII code 32) from being considered printable. This change modifies the comparison to include space, ensuring correct behavior for determining ASCII printable characters.
Introduce `to_underlying_type` in `daw_to_underlying_type.h`, allowing seamless conversion of enums to their underlying integer type. This simplifies operations requiring direct manipulation of enum values.
…ded for fp's passed.
…i_windows.yml`, add improved matrix configuration, and update build/test steps for better toolset coverage.
…t instead of `ci_tests`
…rent_char` computation.
… in `daw_size_literals` for consistency with input type.
…cking for class types.
…figuration. It was giving false positives for graph stuff/libstdc++
…ensure 64bit values
…y in `daw_stack_function`, and suppress MSVC warning 4324 in test compiler options.
…in `exists` for clarity.
…ss MSVC warnings in `exists` implementation
…cific warning handling
…er consistency with container APIs.
…ith container APIs.
…auto` and update loop variable type for consistency.
…ual`, `cmp_less`, `cmp_greater`, `cmp_less_equal`, `cmp_greater_equal`) and improve `cmp_equal` logic for handling integral types.
…al narrowing conversion
…d::uint64_t` with `std::size_t` in `daw_uninitialized_storage_test` for consistency.
…naming, `std::bool_constant`, simplified logic, and alignment to `std::size_t`.
…argest item check to use `std::uint64_t`.
…c hash table operations.
…MSVC by adding specific `#pragma` directives and warning suppression. - Applied consistent formatting across CMake files for clarity and maintainability.
…nctions if exceptions are enabled.
…itional exception support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.