Comments (2)
It's true that endian_buffer
is not a C++03 POD, but there's a test that it can be used in a union, and this test passes. So I'm not sure that making the data member public is really necessary in practice.
from endian.
Should be fixed in develop.
from endian.
Related Issues (20)
- unrolled_byte_loops: implementation defined behaviour? HOT 5
- `endian_arithmetic` should also be a POD or provide the constructors HOT 15
- msvc warnings HOT 2
- Weird endian_buffer assignment from T when the conversion is explicit HOT 2
- Use byte swap intrinsics in arithmetic types HOT 4
- 'endian': ambiguous symbol HOT 1
- can endian_reverse, endian_reverse_impl, and *_to_* be marked constexpr? HOT 2
- floating point support HOT 1
- floating point conversion HOT 3
- Support `__int128` HOT 2
- Is float/double serialization supported ? HOT 7
- Overall FAQ: "Why is there no floating point support?" is outdated HOT 1
- endian_reverse template should only participate in overload resolution if T is integral HOT 1
- float_typedef_test.cpp fails in 32-bit linux platform HOT 1
- fatal error: boost/ detail/endian.hpp: No such file or directory | #include <boost/detail/endian.hpp> HOT 3
- endian_buffer::data() should use std::byte if using c++17 and above
- Documentation bug mangles pointer types in API
- Modular Boost C++ Libraries Request HOT 1
- Does p in endian_load()/endian_store() needs to point to a T-aligned region? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from endian.