Changes between Initial Version and Version 3 of Ticket #9235
- Timestamp:
- Oct 12, 2013, 10:50:01 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9235
- Property Status new → closed
- Property Resolution → wontfix
-
Ticket #9235 – Description
initial v3 1 1 I didn't find a way to directly construct fixed sized cpp_int from existing binary data (a static array, for example an RSA key hardcoded into a .cpp after being generated with OpenSSL)... 2 I had to resort to either using the from-string constructor or inserting the data byte by byte with 8 bit shifts and or-ing in a loop both of which are ugly and inefficient (https://svn.boost.org/trac/boost/ticket/9233, https://svn.boost.org/trac/boost/ticket/9234)... 2 I had to resort to either using the from-string constructor or inserting the data byte by byte with 8 bit shifts and or-ing in a loop both of which are ugly and inefficient: 3 https://svn.boost.org/trac/boost/ticket/9233 https://svn.boost.org/trac/boost/ticket/9234 4 https://svn.boost.org/trac/boost/ticket/9243 5 ... 3 6 4 7 Ideally it would be possible to create static fixed size numbers as one creates PODs, without a dynamic initializer being created by the compiler..