February 2018

Introduction to the C++ Ranges Library--Jonathan Boccara

You can read it or watch it.

Introduction to the C++ Ranges Library

by Jonathan Boccara

From the article:

Do you know the ranges library in C++?

This video will show what limitations of the STL it solves, and how it can make C++ code more expressive.

Since some of you expressed that they liked text more than videos, I’ve included a transcript of the video. I’d be glad to know if you find this useful, and if you’d like to have a transcript for other videos...

Make your C++ voice heard! Cross-industry survey from the VC++ team

The VC++ team is asking for your perspectives, whichever compiler you're using and whatever platform you're targeting:

Make your C++ voice heard! Cross-industry survey from the VC++ team

C++ is evolving, and so are our plans around it here at Microsoft. Recent investments by our team include the new cross-platform Visual Studio Code editor, CMake and Linux support in Visual Studio, a C++ language service which, when editing, can match your C++ compiler of choice, and support for remote debugging on any platform.

We would like to hear from you on what are your next set of challenges. Please take our survey to help shape our cross-platform C++ plans

Italian C++ Conference 2018: Call for papers and Call for sponsors--Marco Arena

The Italian C++ Conference is back:

Italian C++ Conference 2018: Call for papers and Call for sponsors

June 23, Milan

The Italian C++ Conference is the biggest event in Italy on C++ development, where professionals, companies and students meet and share experience. The conference is free and organized by the Italian C++ Community.
For an overview of the previous edition, including statistics and technical contents, read the wrap-up post.

 

Submit your talk by March 24!

We accept talk proposals in both English and Italian. One track will be in English.

Read here and submit your proposal

 

Call for sponsors

Since the event is free to attend, sponsors will cover the main consts. If you are interested in sponsoring the biggest and most important event about C++ development in Italy, please get in touch.

 

Next steps, agenda and registrations

After March 24, attendees from our past events, Italian C++ Community staff, and this year speakers will be involved in a voting process. Decisions will be sent to speakers by April 17.

The registrations will open in April and the agenda will be published ~2 months before the event date.

CopperSpice: Threads and Containers

New videos on the CopperSpice YouTube Channel:

Modern C++ Threads

by Barbara Geller and Ansel Sermersheim

About the video:

An overview of the C++11 threading library, including a discussion of why the C++11 memory model is so important. We also present information about atomics and the abstraction of multithreaded design.

What's in a container?

by Barbara Geller and Ansel Sermersheim

About the video:

A practical look at how containers are implemented in C++, including a discussion of when you should implement your own container, the potential pitfalls of hand-rolled containers, why Copy-On-Write is a bad idea and disallowed for containers in the standard library, and how to implement your own container adapters.

Please take a look and remember to subscribe!

CppCast Episode 137: Qt Mobile Development with Sarah Smith

Episode 137 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Sarah Smith to talk about her career in Mobile Development with C++ and Qt.

CppCast Episode 137: Qt Mobile Development with Sarah Smith

by Rob Irving and Jason Turner

About the interviewee:

Sarah Smith comes to mobile development & entrepreneurship with a background in Software Engineering for companies like Nokia & Google, and over a decade of mobile device experience.

She builds on a love of game development since creating Dungeons & Dragons modules on her own web-server while studying for a BSc (Comp Sci) in the late 90's. Realizing a goal to develop independent games & apps, Sarah opened Smithsoft in 2012.

In January 2016 development went to the next level with Sarah moving to The Coterie (Brisbane's premier creative co-working space) to set up a studio as Smithsoft Games. The new studio's first title Pandora's Books was developed by Sarah and her team of part-time collaborators through 2016.

In 2017 Sarah founded Artlife Solutions Pty Ltd with a team out of the Creative Startup Weekend, winning first prize there, going on to win a spot in Collider Accelerator 2017. Currently working on Sortal - the startup's revolutionary AI powered photo software - Sarah is responsible for all things tech including the scalable architecture, mobile implementation and deep-learning technology.

Sarah is an international speaker and expert in creative teams and agile projects; mobile development and technical architecture for apps. She has worked for a decade in her discretionary time on diversity in hiring and helping women coders.

Quick Q: Direct initialization with empty initializer list

Quick A: If there is an initializer list contructor, it will choose it.

Recently on SO:

Direct initialization with empty initializer list

When an argument is an initializer list ([dcl.init.list]), it is not an expression and special rules apply for converting it to a parameter type.

If the parameter type is std::initializer_list or “array of X” and all the elements of the initializer list can be implicitly converted to X, the implicit conversion sequence is the worst conversion necessary to convert an element of the list to X. This conversion can be a user-defined conversion even in the context of a call to an initializer-list constructor.

Otherwise, if the parameter is a non-aggregate class X and overload resolution per [over.match.list] chooses a single best constructor of X to perform the initialization of an object of type X from the argument initializer list, the implicit conversion sequence is a user-defined conversion sequence. If multiple constructors are viable but none is better than the others, the implicit conversion sequence is the ambiguous conversion sequence. User-defined conversions are allowed for conversion of the initializer list elements to the constructor parameter types except as noted in [over.best.ics].