摘要: Let's see the piece of code below:Obviously, `foo(false)` will call `foo(bool)` as excepted.But do you know what does `foo("1234")` actually select? The answer is `foo(bool)` too! See here for detail:http://stackoverflow.com/questions/13268608/boostvariant-why-is-const-char-converted-t 阅读全文
posted @ 2013-08-04 13:00 walfud 阅读(174) 评论(0) 推荐(0) 编辑