Microchip yesterday announced the XC++ compiler for PIC32 microcontrollers. It’s free to use, but comes with code optimization restrictions in the free version. This compiler adds support for C++ code, and comes with built in Dinkumware template libraries
The MPLAB XC32++ supports all of Microchip’s 32-bit PIC32 microcontrollers (MCUs). This compiler enables designers to develop and re-use C++ projects by making all of Microchip’s C language extensions available in an environment that is compliant with the majority of C++98 and C++2003 ANSI standards. Additionally, the Free MPLAB XC32++ Compiler includes Dinkumware® standard C, C++, and template libraries.