mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Generics with <>. Deprecation of {} generics.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module std::thread::channel{Type};
|
||||
module std::thread::channel <Type>;
|
||||
|
||||
typedef BufferedChannel = void*;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module std::thread::pool{SIZE};
|
||||
module std::thread::pool <SIZE>;
|
||||
import std::thread;
|
||||
|
||||
struct ThreadPool
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module std::thread::channel {Type};
|
||||
module std::thread::channel <Type>;
|
||||
|
||||
typedef UnbufferedChannel = void*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user