Using boost in embedded system with memory limitation

前端 未结 6 825
夕颜
夕颜 2021-01-04 19:01

We are using c++ to develop an application that runs in Windows CE 4 on an embedded system.

One of our constraint is that all the memory used by the application shal

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-04 19:14

    Do not use Boost.

    It is a big library and your basic memory allocation requirements are very different from those of the libraries designers.

    Even if you can get a current version of Boost to work according to your requirements with custom allocators it may break with a new version of Boost.

    Feel free to look at the Boost source code though for some useful ideas but use your own implementation for what you need.

提交回复
热议问题