linksplatform / linksplatform/Timestamps

Add concept constraint to UniqueTimestampFactory

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

add
```cpp
static_assert(IFactory,
"/* your message */");
```
after this
https://github.com/linksplatform/Timestamps/blob/e2f21fda1b2a7f4dfc1496947136124c8ff5d212/cpp/Platform.Timestamps/UniqueTimestampFactory.h#L3-L13

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with cpp/Platform.Timestamps/UniqueTimestampFactory.h at the linked lines and inspect the existing IFactory declaration or definition. Add the requested compile-time constraint after that location, then build the C++ project and run its existing checks to confirm the assertion is accepted and the library still compiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.