cpp14
C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.
Here are 1,356 public repositories matching this topic...
-
Updated
Mar 2, 2020 - C++
It's possible to instantiate an OSRM object in Javascript like this:
const osrmInstance = new OSRM({
algorithm: 'CH',
dataset_name: 'foo',
mmap_memory: true
});
This should throw an error - setting mmap_memory should require supplying a path, and this is incompatible with using dataset_name, which triggers using shared memory.
These opti
I have encountered a possible use after free bug in the libnghttp2 c library after performing a particular sequence of operations with NGHTTP2_OPT_NO_CLOSED_STREAMS set.
The sequence is:
nghttp2_session_mem_recvwith received data. It calls, among other thingsnghttp2_session_on_data_received, which then callssession_call_on_frame_received, which calls my `on_frame_recv_call
doctest currently has an option not to print the version, so that printVersion() starts with:
void printVersion() {
if(opt.no_version == false)
I suggest that the same option be added for the intro text, i.e.
void printIntro() {
+ if(opt.no_intro == false) {
printVersion();
// etc. etc.
+ }
-
Updated
Feb 29, 2020 - C++
GCC appears to evaluate transform function calls out of order, which I think it's allowed to do because function argument evaluation order is undefined. Hana should explicitly document the lack of ordering guarantees in transform.
As for Display the special operations generated by the compiler #224 discussion, the documentation will improve if we had a section describing the transformation of each featre and his limitations.
In particular for the special operation, to explain that only the operations that are really generated would appear in the transformation. This is due to the fact that the tool s based on the AST.
-
Updated
Feb 29, 2020 - C++
-
Updated
Mar 1, 2020 - C++
-
Updated
Mar 1, 2020 - C++
the correct result of the example in Vc::iif should be [2,1,1,5] (if i understood it correctly)
and I am not sure whether the code example in Vc::simd_for_each is correct, therefore I did not make a PR.
void scale(std::vector<double> &data, double factor) {
Vc::simd_for_each(data.begin(), data.end(), [&](auto v) {
v *= factor;
});
}
If one gets v by value, it chang
hi, i am trying to install rpclib, but got a bit lost.
the version i am trying to install is the git cloned version from the master branch.
i follow the guide and execute the build commands. the documentation says
And that's it. If all goes well, your build output will be in the
outputdirectory.
i can find no direc
-
Updated
Mar 2, 2020 - C++
-
Updated
Mar 2, 2020 - C++
-
Updated
Mar 2, 2020 - C++
-
Updated
Feb 29, 2020 - Emacs Lisp
-
Updated
Feb 29, 2020 - C++
-
Updated
Feb 28, 2020 - C++
poly has a constructor that allows passing a custom concept map. This can be used like
if (condition) {
dyno::poly<Concept> poly{x, concept_map_1};
} else {
dyno::poly<Concept> poly{x, concept_map_2};
}We should find a nice use case and document this.
Add documentation
The Guidelines Support Library is sort-of documented in the C++ Core Guidelines, so one could argue that GSL implementations such as gsl-lite only need to document their configuration switches.
However, gsl-lite offers a variety of additional features which are currently undocumented (e.g. the gsl_HAVE_* family of macro
Add code of conduct
Add Contributing
We have user-definable variadic dimensions now, but we need to develop some case studies we can document to guide users on how to take advantage of that. We probably also want some macros to simplify including new dimensions and making sure traits and things are auto-generated when a new dimension is defined.
If anyone comes up with something cool, post it here or in a PR and I'll include it in
Add Runnable links of the code below the example.
Use link name Run Code which links to a Online C++ complier conatining the example code.
Use Rextester as the Online C++ Compiler (If you have a better suggesstion please comment).
Follow below steps to generate the Run Code Link.
- Go to Rextester
- Copy or write the example
in example topolopy, when i execute "clear Graph", the message show "TypeError: Property 'clear' of object qan::FaceGraph_QML_70(0x7884400, "graph") is not a function",so i modify "void clear() noexcept;" to " Q_INVOKABLE void clear() noexcept;" in the file "qanGraph.h" 103 line ,but that still error.
The doc is great! Hoewever some areas are still missing.
C++11 intoduced raw string literals: https://en.cppreference.com/w/cpp/language/string_literal
It is useful in many different areas, like strings with quotes, multiline strings and for example windows paths without escaping backslashes:
The same cppreference link als