boostorg / boostorg/mysql

support for asio standalone

オープン
#44 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
299
フォーク
43
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi @anarthal Ruben,

great work, thanks!

There's quite a big community using asio in stand-alone mode without boost. Is boost really needed or would it be possible to make a definition to support compiling without the boost framework and namespaces?

i.e.

```
#ifdef ASIO_STANDALONE
#define MYSQL_COMPLETION_TOKEN ASIO_COMPLETION_TOKEN_FOR
#else
#define MYSQL_COMPLETION_TOKEN BOOST_ASIO_COMPLETION_TOKEN_FOR
#endif

```

Thanks and best,
Roman

Update: according to grep, there's just a few includes from boost that are non-asio related, and their functionalities are covered since c++11 by std::*, except - ok - lexical cast, config and endian conversion:

```
#> egrep -Riohw "#include "|sort|uniq | grep -v 'boost/asio'
#include
#include
#include
#include
#include
#include
#include
#include
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。