Skip to content

does it work with win32 MFC projects in MSVC #1

@rameshdk12

Description

@rameshdk12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions