社区
C语言
帖子详情
关于pod(plain old data)的探讨
hmsuccess
2008-12-26 02:48:34
那位高手能不能详细讲讲pod(plain old data),包括在内存中的存储格式。
还有就是,pod类型的数据写入文件后,可以直接读取对应格式吗?
谢谢
...全文
416
8
打赏
收藏
关于pod(plain old data)的探讨
那位高手能不能详细讲讲pod(plain old data),包括在内存中的存储格式。 还有就是,pod类型的数据写入文件后,可以直接读取对应格式吗? 谢谢
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
8 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
sd11102001
2010-07-21
打赏
举报
回复
UP!
wudeshou82666
2008-12-26
打赏
举报
回复
UP
waizqfor
2008-12-26
打赏
举报
回复
http://topic.csdn.net/t/20050602/17/4054864.html
hhyttppd
2008-12-26
打赏
举报
回复
POD一般没有特殊的构造和析造函数,并且它内部成员是基本数据类型或者pod.
hmsuccess
2008-12-26
打赏
举报
回复
[Quote=引用 1 楼 zmlovelx 的回复:]
引用网上:
Plain Old Data (POD)
POD指的是这样一些数据类型:基本数据类型、指针、union、数组、构造函数是 trivial 的 struct 或者 class。
POD用来表明C++中与C相兼容的数据类型,可以按照C的方式来处理(运算、拷贝等)。非POD数据类型与C不兼容,只能按照C++特有的方式进行使用。
[/Quote]
那pod类型的数据在内存和文件中存储方式呢?
nullah
2008-12-26
打赏
举报
回复
顶帅哥
帅得不敢出门
2008-12-26
打赏
举报
回复
http://en.wikipedia.org/wiki/Plain_Old_Data_Structures
帅得不敢出门
2008-12-26
打赏
举报
回复
引用网上:
Plain Old Data (POD)
POD指的是这样一些数据类型:基本数据类型、指针、union、数组、构造函数是 trivial 的 struct 或者 class。
POD用来表明C++中与C相兼容的数据类型,可以按照C的方式来处理(运算、拷贝等)。非POD数据类型与C不兼容,只能按照C++特有的方式进行使用。
perl-
Pod
-Spell-1.04-4.el7.x64-86.rpm.tar.gz
1、文件内容:perl-
Pod
-Spell-1.04-4.el7.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/
data
/output/perl-
Pod
-Spell-1.04-4.el7.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、安装指导:私信博主,全程指导安装
perl-
Pod
-Coverage-0.23-3.el7.x64-86.rpm.tar.gz
1、文件内容:perl-
Pod
-Coverage-0.23-3.el7.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/
data
/output/perl-
Pod
-Coverage-0.23-3.el7.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、安装指导:私信博主,全程指导安装
C与多语言编程技术综合学习库_包含STL容器内存优化自定义new方法模板编程库生成socket网络编程
POD
类型线程池实现C11C17矩阵计算库比较.zip
C与多语言编程技术综合学习库_包含STL容器内存优化自定义new方法模板编程库生成socket网络编程
POD
类型线程池实现C11C17矩阵计算库比较.zip
perl-
Pod
-Eventual-0.093330-12.el7.x64-86.rpm.tar.gz
1、文件内容:perl-
Pod
-Eventual-0.093330-12.el7.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/
data
/output/perl-
Pod
-Eventual-0.093330-12.el7.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、安装指导:私信博主,全程指导安装
Simplx-a C++ framework distributed and concurrent multicore software
About Simplx is a C++ development framework for building reliable cache-friendly distributed and concurrent multicore software. Simplx was developped by Tredzone SAS. We provide software technology solutions and services dedicated to high-performance real-time processing. Our technology enables low and predictable latency, scalability, and high throughput. We also offer support contracts and enterprise tools for monitoring, profiling, debugging, server clustering under commercial licenses. Simplx is used at the Paris stock exchange by Euronext's market exchange platform, called "Optiq", and has been successfully deployed since November 2016. Tredzone was founded in 2013 and operates in France, the UK and US. License Simplx is open-sourced under the Apache 2.0 license, please see the file "LICENSE" in our github repo. Coding conventions We use struct and class differently based on the object type (although they're technically interchangeble) typename struct for Event types as they're often
Plain
Old
Data
(
POD
) typename class for Actor, Engine and everything else Header files located at: /include/trz/engine/internal/*.h are used internally by the Simplx runtime; they're not documented and subject to change. You shouldn't need those directly in order to write client applications anyway.
C语言
70,024
社区成员
243,253
社区内容
发帖
与我相关
我的任务
C语言
C语言相关问题讨论
复制链接
扫一扫
分享
社区描述
C语言相关问题讨论
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章