Comments (1)
You can now use one of the following:
var a = Array(&[1,2,3,4]);
or
var a = Array<int>([1,2,3,4]);
Once generic argument inference and auto-referencing work together we can have Array([1,2,3,4])
.
from cx.
Related Issues (20)
- Autogenerated initializers
- Infer generic arguments from assignment left-hand side
- Allow iteration of builtin arrays HOT 1
- Statement-level conditional compilation
- llvm 8.0.0 HOT 3
- pointer arithmetic HOT 4
- Testing support HOT 7
- Block comment ignores strings HOT 3
- Parsing numbers
- Preprocessor HOT 1
- Executing system commands HOT 1
- cmake fails, build failed. HOT 1
- Windows does not has c++17 HOT 5
- Update to LLVM 11 HOT 1
- LLVM ERROR: inconsistency in registered CommandLine options / undefined reference to `backtrace' HOT 9
- hasInclude() can find wrong header when having multiple libc's installed
- documentation examples that throws error HOT 2
- logo HOT 1
- Build failure on Fedora 35
- Add more examples HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cx.