回答編集履歴
2
別解を追加
answer
CHANGED
File without changes
|
1
別解を追加
answer
CHANGED
@@ -1,3 +1,7 @@
|
|
1
1
|
```C++
|
2
2
|
float test = *reinterpret_cast<float*>(cmd.data());
|
3
|
+
```
|
4
|
+
または
|
5
|
+
```C++
|
6
|
+
float test = *reinterpret_cast<float*>(&cmd[0]);
|
3
7
|
```
|