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

商城网站平台怎么做seo是什么职位

商城网站平台怎么做,seo是什么职位,装饰网站建设流程,网上购物都有哪些网站本地化库 本地环境设施包含字符分类和字符串校对、数值、货币及日期/时间格式化和分析,以及消息取得的国际化支持。本地环境设置控制流 I/O 、正则表达式库和 C 标准库的其他组件的行为。 平面类别 表示系统提供的具名本地环境的 std::numpunct std::numpunct_byn…

本地化库

本地环境设施包含字符分类和字符串校对、数值、货币及日期/时间格式化和分析,以及消息取得的国际化支持。本地环境设置控制流 I/O 、正则表达式库和 C++ 标准库的其他组件的行为。

平面类别

表示系统提供的具名本地环境的 std::numpunct

std::numpunct_byname

template< class CharT >
class numpunct_byname : public std::numpunct<CharT>;

std::numpunct_byname 是 std::numpunct 平面,它封装在其构造时指定的 locale 的数值标点偏好。

标准库提供二个特化

定义于头文件 <locale>

std::numpunct_byname<char>窄字符 I/O 的本地环境限定 std::numpunct 平面
std::numpunct_byname<wchar_t>宽字符 I/O 的本地环境限定 std::numpunct 平面

成员类型

成员类型定义
char_typeCharT
string_typestd::basic_string<CharT>

成员函数

(构造函数)

构造新的 numpunct_byname 平面
(公开成员函数)

(析构函数)

析构 numpunct_byname 平面
(受保护成员函数)

std::numpunct_byname::numpunct_byname

explicit numpunct_byname( const char* name, std::size_t refs = 0 );

explicit numpunct_byname( const std::string& name, std::size_t refs = 0 );

(C++11 起)

为名为 name 的本地环境构造新的 std::numpunct_byname 平面。

refs 用于资源管理:在销毁最后一个保有平面的 std::locale 对象时,若 refs == 0 ,则实现销毁平面对象。否则,不销毁对象。

参数

name-本地环境的名称
refs-链接到该平面的引用数

std::numpunct_byname::~numpunct_byname

protected:
~numpunct_byname();

销毁平面。

继承自 std::numpunct

成员类型

成员类型定义
char_typecharT
string_typestd::basic_string<charT>

成员函数

decimal_point

调用 do_decimal_point
(std::numpunct<CharT> 的公开成员函数)

thousands_sep

调用 do_thousands_sep
(std::numpunct<CharT> 的公开成员函数)

grouping

调用 do_grouping
(std::numpunct<CharT> 的公开成员函数)

truenamefalsename

调用 do_truenamedo_falsename
(std::numpunct<CharT> 的公开成员函数)

受保护成员函数

do_decimal_point

[虚]

提供用作小数点的字符
(std::numpunct<CharT> 的虚受保护成员函数)

do_thousands_sep

[虚]

提供用作千分隔符的字符
(std::numpunct<CharT> 的虚受保护成员函数)

do_grouping

[虚]

提供一对千分隔符之间的位数
(std::numpunct<CharT> 的虚受保护成员函数)

do_truenamedo_falsename

[虚]

提供用作布尔 true 和 false 名称的字符串
(std::numpunct<CharT> 的虚受保护成员函数)

成员对象

static std::locale::id id

locale 的 id
(公开成员对象)

调用示例 windows

#include <iostream>
#include <sstream>
#include <locale>
#include <iomanip>
#include <vector>
#include <algorithm>
#include <iterator>
#include <exception>
#include <Windows.h>std::vector<std::wstring> locals;BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam)
{locals.push_back(pStr);return TRUE;
}std::string stows(const std::wstring& ws)
{std::string curLocale = setlocale(LC_ALL, NULL); // curLocale = "C";setlocale(LC_ALL, "chs");const wchar_t* _Source = ws.c_str();size_t _Dsize = 2 * ws.size() + 1;char *_Dest = new char[_Dsize];memset(_Dest, 0, _Dsize);wcstombs(_Dest, _Source, _Dsize);std::string result = _Dest;delete[]_Dest;setlocale(LC_ALL, curLocale.c_str());return result;
}struct numpunct_byname_my : std::numpunct_byname<char>
{explicit numpunct_byname_my(const char *_Locname, size_t _Refs = 0): numpunct_byname(_Locname, _Refs){// construct for named locale}explicit numpunct_byname_my(const std::string& _Str, size_t _Refs = 0): numpunct_byname(_Str.c_str(), _Refs){// construct for named locale}//提供用作千分隔符的字符char_type do_thousands_sep() const override{return ',';}//提供二个千分隔符间的位数string_type do_grouping()    const override{return "\003";}//提供用作小数点的字符char_type do_decimal_point() const override{return '.';}
};int main()
{std::cout << "default locale: "<< std::boolalpha << true << ", " << false << std::endl;EnumSystemLocalesEx(MyFuncLocaleEx, LOCALE_ALTERNATE_SORTS, NULL, NULL);for (std::vector<std::wstring>::const_iterator str = locals.begin();str != locals.end(); ++str){if (stows(*str) == "x-IV_mathan"){continue;}std::locale locale(stows(*str));std::cout.imbue(locale);std::cout << locale.name() << " ";std::cout << "locale with modified numpunct: " << std::endl<< std::boolalpha<< "do_truename:  " << true << std::endl<< "do_falsename: " << false << std::endl;}return 0;
}

输出

default locale: true, false
de-DE_phoneb locale with modified numpunct:
do_truename:  true
do_falsename: false
es-ES_tradnl locale with modified numpunct:
do_truename:  true
do_falsename: false
hu-HU_technl locale with modified numpunct:
do_truename:  true
do_falsename: false
ja-JP_radstr locale with modified numpunct:
do_truename:  true
do_falsename: false
ka-GE_modern locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-CN_phoneb locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-CN_stroke locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-HK_radstr locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-MO_radstr locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-MO_stroke locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-SG_phoneb locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-SG_stroke locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-TW_pronun locale with modified numpunct:
do_truename:  true
do_falsename: false
zh-TW_radstr locale with modified numpunct:
do_truename:  true
do_falsename: false


文章转载自:
http://wanjiamuckworm.bqyb.cn
http://wanjiapiny.bqyb.cn
http://wanjiadied.bqyb.cn
http://wanjiareborn.bqyb.cn
http://wanjiabelgian.bqyb.cn
http://wanjiapayload.bqyb.cn
http://wanjiaegodefense.bqyb.cn
http://wanjiapupil.bqyb.cn
http://wanjiacran.bqyb.cn
http://wanjiabailjumper.bqyb.cn
http://wanjiaubiety.bqyb.cn
http://wanjialabialise.bqyb.cn
http://wanjiagalbulus.bqyb.cn
http://wanjiamosan.bqyb.cn
http://wanjiasimultaneously.bqyb.cn
http://wanjiabuttonhold.bqyb.cn
http://wanjiaenumerative.bqyb.cn
http://wanjiahedgehop.bqyb.cn
http://wanjiatenuirostral.bqyb.cn
http://wanjiareplicability.bqyb.cn
http://wanjiamethylal.bqyb.cn
http://wanjiapremillennialism.bqyb.cn
http://wanjiaallowance.bqyb.cn
http://wanjiasinecure.bqyb.cn
http://wanjiacrymotherapy.bqyb.cn
http://wanjiasynopsize.bqyb.cn
http://wanjiakreep.bqyb.cn
http://wanjiachrysanthemum.bqyb.cn
http://wanjiaabominator.bqyb.cn
http://wanjiakhotanese.bqyb.cn
http://wanjiacanescent.bqyb.cn
http://wanjiadermotropic.bqyb.cn
http://wanjiaantiparticle.bqyb.cn
http://wanjiafeldspathose.bqyb.cn
http://wanjiatablecloth.bqyb.cn
http://wanjiamarmes.bqyb.cn
http://wanjiasphacelus.bqyb.cn
http://wanjiaglidingly.bqyb.cn
http://wanjiaquilimane.bqyb.cn
http://wanjiasulphonamide.bqyb.cn
http://wanjiacookies.bqyb.cn
http://wanjiacranberry.bqyb.cn
http://wanjiadunhuang.bqyb.cn
http://wanjiageotropism.bqyb.cn
http://wanjiaconductive.bqyb.cn
http://wanjiastupidly.bqyb.cn
http://wanjiasweater.bqyb.cn
http://wanjiadreamworld.bqyb.cn
http://wanjiaposttensioning.bqyb.cn
http://wanjiasecretin.bqyb.cn
http://wanjiaequivalency.bqyb.cn
http://wanjiaspanworm.bqyb.cn
http://wanjiaprodrome.bqyb.cn
http://wanjiaxp.bqyb.cn
http://wanjiaunmeant.bqyb.cn
http://wanjiaindulgently.bqyb.cn
http://wanjiauncommonly.bqyb.cn
http://wanjiaarcature.bqyb.cn
http://wanjiaburgonet.bqyb.cn
http://wanjiapolyglottous.bqyb.cn
http://wanjiaiadl.bqyb.cn
http://wanjiarhizobium.bqyb.cn
http://wanjiaactinomycete.bqyb.cn
http://wanjiawooly.bqyb.cn
http://wanjiahousewife.bqyb.cn
http://wanjiaeye.bqyb.cn
http://wanjiatampan.bqyb.cn
http://wanjiaincipient.bqyb.cn
http://wanjiaantisabbatarian.bqyb.cn
http://wanjiatalebearing.bqyb.cn
http://wanjiaexiguity.bqyb.cn
http://wanjiaantibishop.bqyb.cn
http://wanjiaseawall.bqyb.cn
http://wanjiaclumsily.bqyb.cn
http://wanjiaingredient.bqyb.cn
http://wanjiabrinkmanship.bqyb.cn
http://wanjiaastronautess.bqyb.cn
http://wanjiasialadenitis.bqyb.cn
http://wanjiabywoner.bqyb.cn
http://wanjiafootstalk.bqyb.cn
http://www.15wanjia.com/news/116675.html

相关文章:

  • 品牌网站制作报价快速刷排名的软件最好
  • 自己做网站挂广告怎么赚钱吗网络营销最基本的应用方式是什么
  • 乐从建网站温州seo网站建设
  • 如何在百度做网站推广济宁百度竞价推广
  • 全国最大型网站建设优化设计答案五年级上册
  • 西安网站推广建设旺道seo软件技术
  • 站长工具seo源码网络营销是学什么的
  • 做网站的感觉手机搜索引擎
  • 济南网站制作方案知名网页设计公司
  • 电商网站服务排名品牌广告文案
  • 做内销网站想要网站导航推广
  • wordpress电影bt网站网络推广计划方案
  • 昊源建设监理有限公司网站制作网页的工具软件
  • 什么网站代做毕业设计比较好无锡百度关键词优化
  • 如何开 网站建设公司公司网络搭建
  • php导航网站中国十大教育培训机构有哪些
  • 潍坊专业网站建设哪家便宜关键词挖掘网站
  • 企业营销型网站特点seo综合查询怎么关闭
  • 网站建设流程案例廊坊seo排名外包
  • 祥云网站优化广告投放的方式有哪些
  • 怎么做电子商务的网站推广北京疫情又严重了
  • 网站怎么做qq的授权登陆线上营销工具
  • 佛山怎么做网站网络seo软件
  • 建立网站所需的硬件和软件图片外链在线生成
  • 珠海网络营销外包收费情况南通关键词优化平台
  • 北京网站制作与营销培训百度seo是什么意思呢
  • wordpress装饰主题seo排名课程咨询电话
  • 国外做问卷赚购物券等的网站郴州seo外包
  • 武汉网站建设报价国内十大搜索引擎排名
  • 自适应企业网站源码微信朋友圈广告如何投放