cpp20
C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.
Here are 310 public repositories matching this topic...
-
Updated
Oct 3, 2020 - C++
In Windows, with VS2019 16.7.2 (debug mode) and the default thrust provided with CUDA 11 package, I found this problem:
int main()
{
thrust::device_vector<int> gpu;
std::vector<int> cpu;
gpu = cpu; // assertion in debug
}
The code triggers an assertion in vector:46 (standard vector header, provided by Microsoft) coming from `thrus
-
Updated
Oct 12, 2020 - C++
-
Updated
Oct 11, 2020 - C++
-
Updated
Oct 12, 2020 - C++
-
Updated
Oct 13, 2020
I would like to be able to determine my device-wide primitive's temp_storage_bytes before I have all of the primitive's arguments ready. The interface for obtaining it ostensibly requires everything to be ready for the actual run - and the documentation does not make it clear what arguments it actually needs and what it's going to do with them (e.g. will it look at the input at all, in any way? Pr
-
Updated
Oct 10, 2020 - C++
-
Updated
Oct 9, 2020 - C++
-
Updated
Oct 12, 2020 - C++
-
Updated
Jun 27, 2020 - C++
I've recently come to realize that the 'one-size-fits-all' mega-snippets on marzer.github.io/tomlplusplus aren't necessarily useful for everyone, and I should break them up into smaller sub-examples. I'd be totally happy to accept help with this, though that may be wishful thinking!
-
Updated
Aug 21, 2020 - C++
quantity_point should be updated to mirror the latest changes to quantity and provide interoperability with other libraries (i.e. std::chrono::time_point).
It would be nice if we could somehow pass a required Vulkan version (both instance and physical device) as well as required extensions (instance and device) to app.
The best place would probably be in frame_config since both frame and app have access to it.
-
Updated
Oct 4, 2020 - C++
-
Updated
Aug 30, 2020 - C++
-
Updated
Dec 29, 2019 - C++
Code:
#include <seqan3/argument_parser/all.hpp>
int main(int argc, char ** argv)
{
seqan3::argument_parser parser{"App", argc, argv, false};
parser.info.author = "Foo Bar";
parser.info.email = "foobar@example.com";
parser.info.short_copyright = "BSD 3-Clause License";
try
{
parser.parse();
}
catch (seqan3::argument_parser_error cons-
Updated
Jun 3, 2020 - C++
-
Updated
Oct 13, 2020 - C++
-
Updated
Oct 13, 2020 - C++
-
Updated
Oct 12, 2020 - C++
Apparently it is possible to add Python modules to the game with the modloader. Unfortunately there is no documentation about the api.
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