Похожие чаты

Hi! I'm trying the compute Sieve of Eratosthenes at compile

time,
while I'm able to do that with bool array, I can not make it work with bitset.
What's wrong in my bitset code?
Code with bool[]: https://paste.rs/QqK.cpp
Code with bitset: https://paste.rs/vwk.cpp

3 ответов

4 просмотра

Sending the output results would be helpful

Mahmud-Nabil Автор вопроса
Hayk Zneigras
Sending the output results would be helpful

Here's the error I get when trying to compile https://paste.rs/vwk.cpp with g++, https://paste.rs/iBj

Mahmud Nabil
Here's the error I get when trying to compile http...

There must be something in bitset that makes it not compile-timeable I guess

Похожие вопросы

Обсуждают сегодня

А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
@MrMiscipitlick А можешь макрос написать, который будет вычислять смещение относительно переданных меток? Просто .label1-.label2, и вернуть значение.
КТ315
35
Чем оно проблема?
Nikita Uzumaki
21
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Hi, I was reading this https://twitter.com/HouseofChimera/status/1778078991762780408 about Verasity and their likely choice of Tron as blockchain for their token for its low f...
Jordi
13
Заметил в ghci 9.4.8: > :t (<*>) @((->)_) (<*>) @((->)_) :: (w -> (a -> b)) -> (w -> a) -> w -> b Разве не должно (w -> (a -> b)) быть записано как (w -> a -> b)? Это баг, ил...
Михаил
13
@samkazemian - couple questions: Update on frxBTC? - This would do well with the current influx of institutional investment entering the space Update on future veFXS streams...
Costi
16
А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Any electron dev here?
Sayanth Tezro
12
Подобного рода ;Следующие три строки это директивы ассемблера, ;которые можно не задавать, т.к.работаем в Visual Studio. ;Символ ";" - это начало однострочного комментария ...
Егор Анелькин
3
Карта сайта