Implementing Reflection Using the New C++20 Tooling Opportunity: Modulescom/microsoft/ifc export module EntityModule; export struct UUID { uint64_t uuid; }; export struct Entity { int health; std::string name; UUID uuid; float x, y, z; }; EntityModule.ixx• Neatly: • implements0 码力 | 53 页 | 1.43 MB | 6 月前3
LITERALS SAFELY for Types that Behave as though Built-in - Pablo Halpern - CppCon 2021constexpr UUIDv4 operator""_UUID(const char*, std::size_t); UUIDv4 Fred = "eeec1114-8078-49c5-93ca-fea6fbd6a280"_UUID; // OK UUIDv4 Bad = "123x"_UUID; // Error: bad UUID formatPhysical units 10/26/210 码力 | 66 页 | 1.47 MB | 6 月前3
So You Think You Can Hashstruct into a hash map, but we can’t use any unique/identifier field as key into the container (no UUID, no unique string). So, we need a means of inserting such structure as key: class Customer { struct into a hash map, but we can’t use any unique/identifier field as key into the container (no UUID, no unique string). So, we need a means of inserting such structure as key: class Customer { of the plain: std::unordered_mapcustomer_records; std::unordered_map<Uuid, CustomerRecords> customer_records;2024 Victor Ciura | @ciura_victor - Unleashing 🦀 The Ferris 0 码力 | 119 页 | 6.54 MB | 6 月前3
Peering Forward: C++'s Next Decadecompiler generated moc_*.cpp C++ compilerCOM IDL-style extensions Proposed (strawman) 59 [ object, uuid(a03d1420-b1ec-11d0-8c3a-00c04fc31d2f), ] interface IFoo : IInspectable { [propget] HRESULT Get(0 码力 | 84 页 | 6.21 MB | 6 月前3
Conan 1.19 Documentationcare of not re-launching the same build again. Note that the result of build-order contains a unique UUID, which is the identifier of the node in the graph, which could be useful to dissambiguate. With this walk(temp_folder): for filename in filenames: filepath = os.path.join(root, filename) unique_name = str(uuid.uuid4()) source = { "type": "file", "path": filepath, "dest-filename": unique_name } build_command = The result is a list of lists, containing tuples. Each tuple contains 2 elements, the first is a UUID of the node of the graph. It is unique and ensures a way to address exactly one node, even if there0 码力 | 609 页 | 4.88 MB | 1 年前3
Conan 1.20 Documentationcare of not re-launching the same build again. Note that the result of build-order contains a unique UUID, which is the identifier of the node in the graph, which could be useful to dissambiguate. With this walk(temp_folder): for filename in filenames: filepath = os.path.join(root, filename) unique_name = str(uuid.uuid4()) source = { "type": "file", "path": filepath, "dest-filename": unique_name } build_command = The result is a list of lists, containing tuples. Each tuple contains 2 elements, the first is a UUID of the node of the graph. It is unique and ensures a way to address exactly one node, even if there0 码力 | 611 页 | 4.89 MB | 1 年前3
Conan 1.21 Documentationcare of not re-launching the same build again. Note that the result of build-order contains a unique UUID, which is the identifier of the node in the graph, which could be useful to dissambiguate. With this walk(temp_folder): for filename in filenames: filepath = os.path.join(root, filename) unique_name = str(uuid.uuid4()) source = { "type": "file", "path": filepath, "dest-filename": unique_name } build_command = The result is a list of lists, containing tuples. Each tuple contains 2 elements, the first is a UUID of the node of the graph. It is unique and ensures a way to address exactly one node, even if there0 码力 | 621 页 | 4.92 MB | 1 年前3
Conan 1.22 Documentationcare of not re-launching the same build again. Note that the result of build-order contains a unique UUID, which is the identifier of the node in the graph, which could be useful to dissambiguate. With this walk(temp_folder): for filename in filenames: filepath = os.path.join(root, filename) unique_name = str(uuid.uuid4()) source = { "type": "file", "path": filepath, "dest-filename": unique_name } build_command = The result is a list of lists, containing tuples. Each tuple contains 2 elements, the first is a UUID of the node of the graph. It is unique and ensures a way to address exactly one node, even if there0 码力 | 629 页 | 4.98 MB | 1 年前3
Conan 1.23 Documentationcare of not re-launching the same build again. Note that the result of build-order contains a unique UUID, which is the identifier of the node in the graph, which could be useful to dissambiguate. With this walk(temp_folder): for filename in filenames: filepath = os.path.join(root, filename) unique_name = str(uuid.uuid4()) source = { "type": "file", "path": filepath, "dest-filename": unique_name } build_command = The result is a list of lists, containing tuples. Each tuple contains 2 elements, the first is a UUID of the node of the graph. It is unique and ensures a way to address exactly one node, even if there0 码力 | 637 页 | 5.04 MB | 1 年前3
Conan 1.24 Documentationcare of not re-launching the same build again. Note that the result of build-order contains a unique UUID, which is the identifier of the node in the graph, which could be useful to dissambiguate. With this walk(temp_folder): for filename in filenames: filepath = os.path.join(root, filename) unique_name = str(uuid.uuid4()) source = { "type": "file", "path": filepath, "dest-filename": unique_name } build_command = The result is a list of lists, containing tuples. Each tuple contains 2 elements, the first is a UUID of the node of the graph. It is unique and ensures a way to address exactly one node, even if there0 码力 | 647 页 | 5.31 MB | 1 年前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













