1

I'm creating an application in BREW, by using C++. Does 3.1.5 sdk version support STL?

Prof. Falken
  • 24,226
  • 19
  • 100
  • 173
Mariusz Chw
  • 364
  • 2
  • 19
  • Random developer claims to use STL: https://developer.brewmp.com/forum/brew-c – Prof. Falken Nov 28 '12 at 15:29
  • https://developer.brewmp.com/forum/seeking-official-definitive-situation-regarding-brew-mp-and-c Look for: "There are large sections of the STL that would need serious rethinking to ever work on the BREW platform ..." – Prof. Falken Nov 28 '12 at 15:33

1 Answers1

2

The BREW platform does not support exceptions, also it has no stream based I/O. This could explain why some have reported success using STL, while others shun it. As long as you stay away from the parts of STL that is problematic on BREW, it might work, but it's far from fool proof. Personally, I would avoid it.

If you are going to use it, a mandatory requirement is to overload new/delete with BREW's MALLOC() and FREE().

Also related reading:

Community
  • 1
  • 1
Prof. Falken
  • 24,226
  • 19
  • 100
  • 173