Skip to content

Commit 406696e

Browse files
committed
Simplification de la VM
1 parent ff71ce9 commit 406696e

44 files changed

Lines changed: 1574 additions & 755 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*.mpp linguist-language=C++
2+
*.cppm linguist-language=C++
3+
*.ixx linguist-language=C++

.vscode/launch.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"name": "Compile & Run Tests",
77
"request": "launch",
88
"type": "node-terminal"
9+
},
10+
{
11+
"command": "xmake watch -r",
12+
"name": "Watch",
13+
"request": "launch",
14+
"type": "node-terminal"
915
}
1016
]
11-
}
17+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
### In this library you can find:
2222

23-
- Additional containers ([bidirectional map](modules/Container/BidirectionalMap.mpp), [b-tree](modules/Container/BTree.mpp), [meshes](modules/Container/MeshNetwork.mpp), [stacks](modules/Container/Stack.mpp), [trees](modules/Container/Tree.mpp))
23+
- Additional containers ([bidirectional map](modules/Container/BidirectionalMap.mpp), [b-tree](modules/Container/BTree.mpp), [meshes](modules/Container/MeshNetwork.mpp), [stacks](modules/Container/TypedStack.mpp), [trees](modules/Container/Tree.mpp))
2424
- A [file modification listener](modules/FileSystem/Watcher.mpp)
2525
- Tools for creating parsers and compilers (Work in progress <img src="resources/loading.gif" width="12" height="12"/> )
2626
- Parsers and compilers for popular languages (CSS, INI, HTML, JSON, Markdown, XML) (Work in progress <img src="resources/loading.gif" width="12" height="12"/> )
@@ -62,7 +62,7 @@ end)
6262

6363
### Build command
6464
```console
65-
xmake f --toolchain=llvm --runtimes="c++_shared" [--enable_tests=y] --yes
65+
xmake f --toolchain=llvm --runtimes="c++_shared" [--sdk=/opt/llvm-git] [--enable_tests=y] --yes
6666
xmake [b|build] [-vD]
6767
```
6868

include/CppUtils/Error.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#define TRY(expected) \
66
({ \
77
auto&& result = expected; \
8-
if (!result.has_value()) [[unlikely]] \
8+
if (not result.has_value()) [[unlikely]] \
99
return std::unexpected{result.error()}; \
1010
result.value(); \
1111
})

modules/Container/Container.mpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ export import CppUtils.Container.Size2d;
1010
export import CppUtils.Container.Size3d;
1111
export import CppUtils.Container.Stack;
1212
export import CppUtils.Container.Tree;
13+
export import CppUtils.Container.TypedStack;
1314
export import CppUtils.Container.Vector;

modules/Container/NetworkPtr.mpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export namespace CppUtils::Container
2222
friend class Thread::SharedLocker<NetworkPtr<T>>;
2323

2424
public:
25-
inline virtual ~NetworkPtr()
25+
inline ~NetworkPtr()
2626
{
2727
detachChildren();
2828
detachParents();

0 commit comments

Comments
 (0)