Skip to content

Commit

Permalink
Move header bit_cast.hpp into directory bit from memory
Browse files Browse the repository at this point in the history
Signed-off-by: yamacir-kit <[email protected]>
  • Loading branch information
yamacir-kit committed Nov 6, 2023
1 parent e7ea0e0 commit 398b3a8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Procedures for each standard are provided by the following R7RS-style libraries:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cd build
make package
sudo apt install build/meevax_0.5.83_amd64.deb
sudo apt install build/meevax_0.5.84_amd64.deb
```

or
Expand Down Expand Up @@ -123,9 +123,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|-------------|-------------
| `all` | Build shared-library `libmeevax.0.5.83.so` and executable `meevax`
| `all` | Build shared-library `libmeevax.0.5.84.so` and executable `meevax`
| `test` | Test executable `meevax`
| `package` | Generate debian package `meevax_0.5.83_amd64.deb`
| `package` | Generate debian package `meevax_0.5.84_amd64.deb`
| `install` | Copy files into `/usr/local` directly

## Usage
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.83
0.5.84
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
limitations under the License.
*/

#ifndef INCLUDED_MEEVAX_MEMORY_BIT_CAST_HPP
#define INCLUDED_MEEVAX_MEMORY_BIT_CAST_HPP
#ifndef INCLUDED_MEEVAX_BIT_BIT_CAST_HPP
#define INCLUDED_MEEVAX_BIT_BIT_CAST_HPP

#include <cstring>

#include <meevax/type_traits/requires.hpp>

namespace meevax
{
inline namespace memory
inline namespace bit
{
template <typename To,
typename From,
Expand All @@ -37,7 +37,7 @@ inline namespace memory
std::memcpy(&to, &from, sizeof from);
return to;
}
} // namespace memory
} // namespace bit
} // namespace meevax

#endif // INCLUDED_MEEVAX_MEMORY_BIT_CAST_HPP
#endif // INCLUDED_MEEVAX_BIT_BIT_CAST_HPP
2 changes: 1 addition & 1 deletion include/meevax/memory/nan_boxing_pointer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <ostream>
#include <typeinfo>

#include <meevax/memory/bit_cast.hpp>
#include <meevax/bit/bit_cast.hpp>
#include <meevax/type_traits/integer.hpp>

namespace meevax
Expand Down
2 changes: 1 addition & 1 deletion include/meevax/memory/tagged_pointer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <stdexcept>

#include <meevax/memory/bit_cast.hpp>
#include <meevax/bit/bit_cast.hpp>
#include <meevax/memory/simple_pointer.hpp>
#include <meevax/type_traits/integer.hpp>

Expand Down

0 comments on commit 398b3a8

Please sign in to comment.