Yes, you'd have to explicitly pass in the expected endianness and then do:

```c++
if (ENDIANNESS != endianness()) swizzle(...);
```