cnbatch / dynarray Goto Github PK
View Code? Open in Web Editor NEWA header-only library, VLA for C++ (≥C++14). Extended version of std::experimental::dynarray
License: BSD 3-Clause "New" or "Revised" License
A header-only library, VLA for C++ (≥C++14). Extended version of std::experimental::dynarray
License: BSD 3-Clause "New" or "Revised" License
Hi,
Does it work with win32 MFC projects in MSVC 17?.
I am using the neat version of dynarray.hpp
I am creating an array in global namespace as below. If I include stdafx.h it doesn't compile.
dynarray.hpp line 920 '(' illegal token on right side of :: is the first error.
//code begins
#include "StdAfx.h"
#include "dynarray.hpp"
vla::dynarray<int, 3> arr(1, 1, 1, 0);
//a dummy function
void fun()
{
}
//code ends
Thanks
Ramesh D
Line 55 in 7d86b2f
_VLA_DYNARRY_
is a reserved name, which makes this header undefined according to the standard. There's no reason you need a leading underscore for that macro, you can just use VLA_DYNARRY
or VLA_DYNARRY_HPP_INCLUDED
or something like that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.