Redian新闻
>
请教boost::any compile错误。
avatar
请教boost::any compile错误。# Programming - 葵花宝典
J*9
1
My boss is totally agree with the transfer and will sponsor the H1B process
fee.
I need the H1B to apply for a green card.
Talked to HR, she said that 's the regulation of the government.
(can start only six months before J1 expires)
Is there anyone who did or know this?
Thanks millions!!
avatar
p*j
2
寄过来的1042-S上显示被扣税为0.学校international house网站上关于国税,写的像
这种情况不用file,因为是non-taxable income.不知道州税用file吗?
avatar
O*n
3
tbv的oncall36小时,2012年新剧,好像也挺好看的。
avatar
k*h
4
cute chinese girl
avatar
z*u
5
att
avatar
d*r
6
【此篇文章是由自动发信系统所张贴】
⊙ 博彩开启于:Mon Nov 19 08:31:42 2012 类别:多选
⊙ 主题:嘉世团体赛最后一人是谁
⊙ 博彩题目描述:
本博彩没有描述
【打对勾者正确选项】
(1) 小事情
√(2) 孙二
(3) 邱非
(4) 其它结果
avatar
k*p
7
我的compiler是gcc 4.7。 多谢
$g++ testAny.cpp -o testAny
testAny.cpp: In function ‘void AnyTesting3()’:
testAny.cpp:66:54: error: no match for ‘operator=’ in ‘myPropertySet.std:
:map<_key _alloc="" _compare="" _tp="">::operator[], boost
::any, std::less >, std::allocatorstd::basic_string, boost::any> > >((* & std::basic_string(((
const char*)"BarrType"), (*(const std::allocator*)(& std::allocator<
char>()))))) = (BarrierType)0u’
testAny.cpp:66:54: note: candidates are:
In file included from testAny.cpp:1:0:
/usr/include/boost/any.hpp:69:15: note: template boost::any
& boost::any::operator=(const ValueType&)
testAny.cpp:66:54: error: template argument for ‘template
boost::any& boost::any::operator=(const ValueType&)’ uses local type ‘
AnyTesting3()::BarrierType’
testAny.cpp:66:54: error: trying to instantiate ‘template> boost::any& boost::any::operator=(const ValueType&)’
In file included from testAny.cpp:1:0:
/usr/include/boost/any.hpp:75:15: note: boost::any& boost::any::operator=(
boost::any)
/usr/include/boost/any.hpp:75:15: note: no known conversion for argument 1
from ‘AnyTesting3()::BarrierType’ to ‘boost::any’
程序:
#include
#include
#include
#include
#include
void AnyTesting3()
{
enum BarrierType{ DownAndOut, UpAndIn, DownAndIn, UpAndOut};
std::map myPropertySet;
myPropertySet["domRate"]=0.003;
myPropertySet["forRate"]=0.031;
myPropertySet["Name"]=std::string("Barrier Option");
myPropertySet["BarrType"] =BarrierType(DownAndOut);
}
avatar
h*n
8
of course not

process

【在 J****9 的大作中提到】
: My boss is totally agree with the transfer and will sponsor the H1B process
: fee.
: I need the H1B to apply for a green card.
: Talked to HR, she said that 's the regulation of the government.
: (can start only six months before J1 expires)
: Is there anyone who did or know this?
: Thanks millions!!

avatar
A*h
9
哪里看原版tvb?就是没配音的。
avatar
d*i
10
Change the last line to
myPropertySet["BarrType"] = BarrierType::DownAndOut;
And then compile it using the -std switch
g++ -I/usr/local/boost_1_55_0 -o boost_any -std=c++0x boost_any.cpp
OR
g++ -I$BOOST_ROOT -o boost_any -std=c++0x boost_any.cpp
It should compile.

std:
boost

【在 k***p 的大作中提到】
: 我的compiler是gcc 4.7。 多谢
: $g++ testAny.cpp -o testAny
: testAny.cpp: In function ‘void AnyTesting3()’:
: testAny.cpp:66:54: error: no match for ‘operator=’ in ‘myPropertySet.std:
: :map<_key _alloc="" _compare="" _tp="">::operator[], boost
: ::any, std::less >, std::allocator: std::basic_string, boost::any> > >((* & std::basic_string(((
: const char*)"BarrType"), (*(const std::allocator*)(& std::allocator<
: char>()))))) = (BarrierType)0u’
: testAny.cpp:66:54: note: candidates are:

avatar
J*9
11
Please provide the reference.
Thanks!

【在 h*******n 的大作中提到】
: of course not
:
: process

avatar
h*n
13
This is common sense
you are eligible to transfer to any status
as long as you got your J1 waiver

【在 J****9 的大作中提到】
: Please provide the reference.
: Thanks!

avatar
i*t
14
各种题材 都要挨边 弄一边才行
avatar
J*9
15
Thanks!
Common sense is not enough.
The HR says it's the regulation of the government.
I personally think that is just an excuse for some reasons.
My boss is willing to help me.
But ask me to find out a true case and any governmental documents.
Anyone has the same experience, please help.
Need to persuade someone , evidence is needed.
I will try search online...

【在 h*******n 的大作中提到】
: This is common sense
: you are eligible to transfer to any status
: as long as you got your J1 waiver

avatar
x*i
16
医院和刑侦,一直是美国电视剧的主流吧,因为这2个地方,故事最多,每集可以出现
不同的人,不同的故事, 可以不断地拍,但是国内拍这2个地方,都有很多限制的吧
avatar
h*n
17
I'm wondering why you go to HR not ISSS?

【在 J****9 的大作中提到】
: Thanks!
: Common sense is not enough.
: The HR says it's the regulation of the government.
: I personally think that is just an excuse for some reasons.
: My boss is willing to help me.
: But ask me to find out a true case and any governmental documents.
: Anyone has the same experience, please help.
: Need to persuade someone , evidence is needed.
: I will try search online...

avatar
J*9
18
Thanks!!
Because we are an affiliate/institute of an University.
Never heard of ISSS.
thanks again.

【在 h*******n 的大作中提到】
: I'm wondering why you go to HR not ISSS?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。