python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
I'm getting a type error while building snfit-2.4.2
For my research study, I need to fit some Supernovae Light Curves (LC). For this purpose, there are some templates available to fit the SNe lightcurves. One such LC template fitter is the snfit-2.4.2 ...
gautam bhuyan
Votes: 0
Answers: 1
Non-type template parameter with template parameter pack
I am checking the validity of a string whose valid values are known at compile time. I have the following simplified code snippet:
#include <cassert>
#include <string>
template <char c...

Tomáš Krupa
Votes: 0
Answers: 1
C++11 Template Method to Stream std::map to std::cout
Objective: Implement a template method that generically allows streaming std::map instances to std::cout
Problem: I'm getting undefined behavior, where my code executes without errors and other times ...

Tony A
Votes: 0
Answers: 1
Can't run C++ .exe created by VSCode
I use VSCode to create the .exe file of the simple following C++ code:
#include <iostream>
using namespace std;
int main()
{
int x = 25;
cout << x << endl;
return 0;
}
...

Garrick Jay
Votes: 0
Answers: 0