Skip to content

Commit b751541

Browse files
committed
[skip ci] Add remark 'EN secifies endianness of v'
1 parent 58c3443 commit b751541

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ Depending on the compiler and C++-standard used, *bit lite* behaves less or more
8484
|   | **native_endian_type** | type based on endian::native |
8585
|   |   | |
8686
| **Free function** | template&lt;class T><br>T **to_big_endian**(T v) | <br>convert unconditionally |
87-
| &nbsp; | template&lt;class T, class EN><br>T **to_big_endian**(T v, EN) | <br>convert if EN is little_endian_type |
87+
| &nbsp; | template&lt;class T, class EN><br>T **to_big_endian**(T v, EN) | convert if EN is little_endian_type<br>*EN specifies endianness of v* |
8888
| &nbsp; | template&lt;class T><br>T **to_little_endian**(T v) | <br>convert unconditionally |
89-
| &nbsp; | template&lt;class T, class EN><br>T **to_little_endian**(T v, EN) | <br>convert if EN is big_endian_type |
89+
| &nbsp; | template&lt;class T, class EN><br>T **to_little_endian**(T v, EN) | convert if EN is big_endian_type<br>*EN specifies endianness of v* |
9090
| &nbsp; | template&lt;class T><br>T **to_native_endian**(T v) | <br>identity |
91-
| &nbsp; | template&lt;class T, class EN><br>T **to_native_endian**(T v, EN) | convert if EN represents<br> non-native endianness |
91+
| &nbsp; | template&lt;class T, class EN><br>T **to_native_endian**(T v, EN) | convert if EN represents<br> non-native endianness for v |
9292
| &nbsp; | &nbsp; |&nbsp;|
9393
| &nbsp; | template&lt;class T><br>T **as_big_endian**(T v) | <br>convert if native is little endian |
9494
| &nbsp; | template&lt;class T><br>T **as_little_endian**(T v) | <br>convert if native is big endian |

0 commit comments

Comments
 (0)