[問題] C++ Builder 2010 boost資料庫使用

作者: Arthurseed (Arthur)   2016-03-31 21:44:25
開發平台(Platform): Win10
額外使用到的函數庫(Library Used): Boost regex
問題(Question):小弟目前使用C++ Builder 2010為開發程式
由於想使用正規表示法便上網查了一下
發現有boost lib中有regex可用,且2010就有boost 1.39
接著就想先依照範例程式試試看
簡化程式如下(Code)所示
光是此行,我compiler就過不了......
不知道該如何解決QQ,懇請大大幫忙!!
錯誤結果(Wrong Output):
[BCC32 Error] sp_convertible.hpp(48): E2514 Cannot (yet) use member overload
resolution during template instantiation
[BCC32 Error] sp_convertible.hpp(66): E2029
'detail::sp_enable_if_convertible_impl<&value>' must be a previously defined
class or struct
[BCC32 Error] object_cache.hpp(76): E2285 Could not find a match for
'shared_ptr<const re_detail::w32_regex_traits_implementation<char>
>::shared_ptr(shared_ptr<const
re_detail::w32_regex_traits_implementation<char> >&)'

程式碼(Code):
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
#include <boost/regex.hpp>
//

Links booklink

Contact Us: admin [ a t ] ucptt.com