allocator是一个不明确的编译错误

时间:2015-08-03 04:25:10

标签: c++11 boost shared-memory allocator boost-interprocess

我有一个以下列include开头的文件,但它提供了以下编译器错误

错误:引用' allocator'很暧昧 | typedef allocator void_allocator;

文件不完整但是 请注意 相同的文件在g ++上正确编译(Ubuntu 4.9.2-0ubuntu1~14.04)4.9.2

这个分配器模糊错误是什么意思?

{
    let $hour := hours-from-duration(op:subtract-times(xs:time(fn:substring-after('2015-07-31T10:25:00','T')),xs:time(fn:substring-after('2015-07-31T07:15:00','T'))))            
    return
    <FlightDuration> {($hour)}</FlightDuration>
}

0 个答案:

没有答案
相关问题