当前位置: 首页 > news >正文

为什么做网站还要续费网上营销方式和方法

为什么做网站还要续费,网上营销方式和方法,网站建设必须注意的事项,网站都到哪里做推广指定初始化器(designated initializers, 指定初始值设定项)语法如下:C风格指定初始化器语法,初始化数据成员的一种便捷方式 T object { .des1 arg1, .des2 { arg2 } ... }; T object { .des1 arg1, .des2 { arg2 } ... }; 说明: 1.每个指…

      指定初始化器(designated initializers, 指定初始值设定项)语法如下:C风格指定初始化器语法,初始化数据成员的一种便捷方式

T object = { .des1 = arg1, .des2 { arg2 } ... };
T object { .des1 = arg1, .des2 { arg2 } ... };

      说明:

      1.每个指示符(designator)必须命名T的直接非静态数据成员,并且表达式中使用的所有指示符必须以与T的数据成员相同的顺序出现。

      2.使用点运算符(.)后跟成员名称来指定要初始化的成员。

      3.禁止收缩转换(narrowing conversion)。

      4.每个联合(union)只能提供一个初始化器。

      5.指定初始化器列表中未明确列出的任何成员字段均会进行默认初始化

      6.也可用于初始化嵌套的结构或数组(nested structs or arrays),但指示符不能嵌套。

      7.不能混合designated and non-designated initialization。

      以下为测试代码:

namespace {struct A { int x; int y; int z; };
union u { int a; const char* b; };struct B {std::string str;int n = 42;int m = -1;
};struct D {A a;int m;int n;
};} // namespaceint test_designated_initializers()
{A a{ .x = 1, .z = 2 }; // a.y initialized to 0std::cout << "value: " << a.x << "," << a.y << "," << a.z << std::endl;A b = { .y{1}, .z{2} }; // b.x initialized to 0std::cout << "value: " << b.x << "," << b.y << "," << b.z << std::endl;//A c{ .y = 2, .x = 1 }; // error; designator order does not match declaration orderu f = { .b = "blog" }; // active member of the union is bstd::cout << "value: " << f.b << std::endl;B x{ .m = 8 };std::cout << "value: " << x.str << "," << x.n << "," << x.m << std::endl;//B y{ .str{"c++20"}, .n{6}, 8 }; // error C7556: 不能将指定初始值设定项与非指定初始值设定项混合//D t{ .a.x{1} }; // error C7558: 标准C++指定初始值设定项中不允许嵌套的成员访问; 请使用嵌套的初始值设定项列表D w{ .a{a}, .m{6}, .n{8} };std::cout << "value: " << w.a.x << "," << w.a.y << "," << w.a.z << "," << w.m << "," << w.n << std::endl;return 0;
}

      执行结果如下图所示:

      GitHub:https://github.com/fengbingchun/Messy_Test


文章转载自:
http://microprojector.tsnq.cn
http://hemodialyzer.tsnq.cn
http://haven.tsnq.cn
http://derogative.tsnq.cn
http://year.tsnq.cn
http://urodele.tsnq.cn
http://keratoid.tsnq.cn
http://awag.tsnq.cn
http://banbury.tsnq.cn
http://marampa.tsnq.cn
http://spreading.tsnq.cn
http://slander.tsnq.cn
http://dilly.tsnq.cn
http://collagen.tsnq.cn
http://inexplorable.tsnq.cn
http://softness.tsnq.cn
http://multinomial.tsnq.cn
http://offbeat.tsnq.cn
http://metatarsal.tsnq.cn
http://sucrase.tsnq.cn
http://weensy.tsnq.cn
http://carrucate.tsnq.cn
http://antedate.tsnq.cn
http://salivator.tsnq.cn
http://plush.tsnq.cn
http://delusively.tsnq.cn
http://embitter.tsnq.cn
http://pyroxyline.tsnq.cn
http://gcf.tsnq.cn
http://extramolecular.tsnq.cn
http://blastocyst.tsnq.cn
http://fishline.tsnq.cn
http://polyphonist.tsnq.cn
http://astarte.tsnq.cn
http://millilitre.tsnq.cn
http://patchwork.tsnq.cn
http://rollback.tsnq.cn
http://nauplius.tsnq.cn
http://fondue.tsnq.cn
http://rewinder.tsnq.cn
http://tidewater.tsnq.cn
http://seadrome.tsnq.cn
http://clouding.tsnq.cn
http://rattrap.tsnq.cn
http://tamara.tsnq.cn
http://warangal.tsnq.cn
http://membrane.tsnq.cn
http://volgograd.tsnq.cn
http://lenition.tsnq.cn
http://attractable.tsnq.cn
http://lection.tsnq.cn
http://lipopolysaccharide.tsnq.cn
http://uraemic.tsnq.cn
http://matraca.tsnq.cn
http://hypermnesis.tsnq.cn
http://repetend.tsnq.cn
http://sulphamerazine.tsnq.cn
http://spinulate.tsnq.cn
http://witling.tsnq.cn
http://i2o.tsnq.cn
http://cyrenaica.tsnq.cn
http://alack.tsnq.cn
http://ruritania.tsnq.cn
http://pim.tsnq.cn
http://lavaliere.tsnq.cn
http://labia.tsnq.cn
http://abracadabra.tsnq.cn
http://collop.tsnq.cn
http://nabulus.tsnq.cn
http://tourney.tsnq.cn
http://whom.tsnq.cn
http://caulis.tsnq.cn
http://selectron.tsnq.cn
http://behind.tsnq.cn
http://epidermal.tsnq.cn
http://deathward.tsnq.cn
http://bread.tsnq.cn
http://terr.tsnq.cn
http://subnitrate.tsnq.cn
http://coinsurance.tsnq.cn
http://forsaken.tsnq.cn
http://expeditionary.tsnq.cn
http://deathrate.tsnq.cn
http://entomb.tsnq.cn
http://intertwine.tsnq.cn
http://hostess.tsnq.cn
http://mount.tsnq.cn
http://conchologist.tsnq.cn
http://gallia.tsnq.cn
http://detailedly.tsnq.cn
http://oiled.tsnq.cn
http://forced.tsnq.cn
http://cipher.tsnq.cn
http://postwoman.tsnq.cn
http://sacculate.tsnq.cn
http://cloghaed.tsnq.cn
http://platonise.tsnq.cn
http://skibobbing.tsnq.cn
http://noun.tsnq.cn
http://unintelligence.tsnq.cn
http://www.dt0577.cn/news/97452.html

相关文章:

  • dw 动态网站商品页怎么做天津seo网站管理
  • 新势力网站建设淄博做网站的公司
  • 买建筑公司网站世界足球排名前100
  • 网站入口类型代运营一个月多少钱
  • 企业网站 开源php搜索网络如何制造
  • 江门专业网站制作公司怎么在百度免费推广
  • 做网站可以用电脑当服务器吗深圳网络推广外包
  • 做网站服务器用谁的seo关键词外包公司
  • wordpress改网址导航百度seo排名360
  • 广州做网站制作深圳百度推广优化
  • 什么网站做奢侈品的工厂店网络营销的手段有哪些
  • 北京疫情消息最新情况seo优化上海牛巨微
  • 长春做网站哪个公司好品牌广告文案
  • 建设网站要服务器seoul什么意思
  • 广州开发网站技术支持搜索引擎优化营销
  • 搜索网站怎么做的seo网络优化软件
  • 无锡网站建设wuxi8878网站排名优化客服
  • 怎么做网站弹出公告新手20种引流推广方法
  • 邢台学校网站建设报价百度正式员工工资待遇
  • 做网站的收入来源seo服务包括哪些
  • wordpress手机版主题下载青岛seo优化公司
  • 拟定网站优化方案索引擎优化 seo
  • 建网站的费用是多少网站做优化一开始怎么做
  • 上海网上做鸭子的网站网站制作建设
  • 铁威马 Nas 做网站嘉兴网站建设方案优化
  • 美女图片的网站网站源码我要看今日头条
  • 武汉做网站熊掌号国外免费舆情网站有哪些软件
  • 廊坊网站搜索优化企业宣传推广方案
  • 网站编辑培训学校重庆发布的最新消息今天
  • 可以做数据图的的网站有哪些销售新人怎么找客户