Message from C, C++ discussions

December 2019

— Me neither for things like that he should use constexpr functions.

— 

He even don't understand what he is doing and what he want to get. Idk why ppl learning programming in that way.

— Yep 🤷‍♂️

— Akram use this instead of your macro:

template<typename $num_t,
typename = std::enable_if<std::is_integral<$num_t>::value ||
std::is_floating_point<$num_t>::value>>
[[nodiscard]] constexpr auto __declspec(noalias)
product
(
const $num_t a,
const $num_t b
) noexcept -> $num_t {
return a * b;
}

Message permanent page

— If ur not using MSVC remove declspec(noalias)

— Akram have a look at this https://stackoverflow.com/questions/7562278/why-define-is-bad

— Lately there have been so many newbies interested in learning about C

— Can someone suggest a good book for learning assembly x86 programming or point me towards a good source.

Message permanent page

— 🙏

— ?

— Hello

— Hello