This PR adds the CLinkAddress concept to the cpp/Platform.Interfaces/ directory. The CLinkAddress concept checks if the argument is integral and unsigned.
Summary
Created a new file cpp/Platform.Interfaces/CLinkAddress.h to define the CLinkAddress concept.
Included the <concepts> and <type_traits> libraries.
Defined the Platform::Interfaces namespace.
Defined the CLinkAddress concept that takes a single template argument T.
Used std::is_integral and std::is_unsigned type traits to check if T is both integral and unsigned.
Fixes #113.
š Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
š” To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR adds the
CLinkAddress
concept to thecpp/Platform.Interfaces/
directory. TheCLinkAddress
concept checks if the argument is integral and unsigned.Summary
cpp/Platform.Interfaces/CLinkAddress.h
to define theCLinkAddress
concept.<concepts>
and<type_traits>
libraries.Platform::Interfaces
namespace.CLinkAddress
concept that takes a single template argumentT
.std::is_integral
andstd::is_unsigned
type traits to check ifT
is both integral and unsigned.Fixes #113.
š Latest improvements to Sweep:
š” To get Sweep to edit this pull request, you can: