Visual C++ compatibility with QuantLib

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Visual C++ compatibility with QuantLib

Venkatesh Rao
Hi, wanted to check which is the most recent version of Visual C++ that runs QuantLib w/o problems.  

 (I'm currently using VC++ 2010 and running into this annoying problem where it does not let you initialize a vector of structs like so: {{strcut1}, {struct2},..} , which seems to be supported in other C++ distributions? [http://stackoverflow.com/questions/18355533/initializing-struct-vector-with-brace-enclosed-initializer-list)]     Not sure that later Visual C++ support this either, but will research that later.)


thanks

P.C. Venkatesh  
Stress Testing
Division of Banking Supervision & Regulation
Board of Governors of the Federal Reserve System
vox: 202 452 3847
email: [hidden email]



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Visual C++ compatibility with QuantLib

Hao Zhang
Hi Venkatesh,

According to Microsoft
(https://msdn.microsoft.com/en-us/library/hh567368.aspx), the
initializer lists feature is only supported in Visual Studio 2013 and
above.

Hao

On Wed, Mar 18, 2015 at 3:16 PM, Venkatesh Rao <[hidden email]> wrote:

> Hi, wanted to check which is the most recent version of Visual C++ that runs QuantLib w/o problems.
>
>  (I'm currently using VC++ 2010 and running into this annoying problem where it does not let you initialize a vector of structs like so: {{strcut1}, {struct2},..} , which seems to be supported in other C++ distributions? [http://stackoverflow.com/questions/18355533/initializing-struct-vector-with-brace-enclosed-initializer-list)]     Not sure that later Visual C++ support this either, but will research that later.)
>
>
> thanks
>
> P.C. Venkatesh
> Stress Testing
> Division of Banking Supervision & Regulation
> Board of Governors of the Federal Reserve System
> vox: 202 452 3847
> email: [hidden email]
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Visual C++ compatibility with QuantLib

Peter Caspers-4
In reply to this post by Venkatesh Rao
it is part of the c+11 standard, MSVC++ seems to support it starting
with version 2013

https://msdn.microsoft.com/en-us/library/vstudio/hh409293.aspx

best regards, Peter

On 18 March 2015 at 20:16, Venkatesh Rao <[hidden email]> wrote:

> Hi, wanted to check which is the most recent version of Visual C++ that runs QuantLib w/o problems.
>
>  (I'm currently using VC++ 2010 and running into this annoying problem where it does not let you initialize a vector of structs like so: {{strcut1}, {struct2},..} , which seems to be supported in other C++ distributions? [http://stackoverflow.com/questions/18355533/initializing-struct-vector-with-brace-enclosed-initializer-list)]     Not sure that later Visual C++ support this either, but will research that later.)
>
>
> thanks
>
> P.C. Venkatesh
> Stress Testing
> Division of Banking Supervision & Regulation
> Board of Governors of the Federal Reserve System
> vox: 202 452 3847
> email: [hidden email]
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users