Update of /cvsroot/boost/boost/boost/interprocess/ipc
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29834/ipc
Modified Files:
message_queue.hpp
Log Message:
no message
Index: message_queue.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/ipc/message_queue.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- message_queue.hpp 12 Jun 2007 17:07:09 -0000 1.7
+++ message_queue.hpp 23 Jun 2007 12:53:00 -0000 1.8
@@ -23,7 +23,7 @@
#include <boost/interprocess/detail/creation_tags.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/detail/no_exceptions_support.hpp>
-#include <boost/type_traits/alignment_of.hpp>
+#include <boost/interprocess/detail/type_traits.hpp>
#include <algorithm> //std::lower_bound
#include <cstddef> //std::size_t
@@ -273,8 +273,8 @@
(std::size_t max_msg_size, std::size_t max_num_msg)
{
const std::size_t
- msg_hdr_align = boost::alignment_of<detail::msg_hdr_t>::value,
- index_align = boost::alignment_of<msg_hdr_ptr_t>::value,
+ msg_hdr_align = detail::alignment_of<detail::msg_hdr_t>::value,
+ index_align = detail::alignment_of<msg_hdr_ptr_t>::value,
r_hdr_size = detail::ct_rounded_size<sizeof(mq_hdr_t),
index_align>::value,
r_index_size =
detail::get_rounded_size(sizeof(msg_hdr_ptr_t)*max_num_msg, msg_hdr_align),
r_max_msg_size = detail::get_rounded_size(max_msg_size,
msg_hdr_align) + sizeof(detail::msg_hdr_t);
@@ -287,8 +287,8 @@
void initialize_memory()
{
const std::size_t
- msg_hdr_align = boost::alignment_of<detail::msg_hdr_t>::value,
- index_align = boost::alignment_of<msg_hdr_ptr_t>::value,
+ msg_hdr_align = detail::alignment_of<detail::msg_hdr_t>::value,
+ index_align = detail::alignment_of<msg_hdr_ptr_t>::value,
r_hdr_size = detail::ct_rounded_size<sizeof(mq_hdr_t),
index_align>::value,
r_index_size =
detail::get_rounded_size(sizeof(msg_hdr_ptr_t)*m_max_num_msg, msg_hdr_align),
r_max_msg_size = detail::get_rounded_size(m_max_msg_size,
msg_hdr_align) + sizeof(detail::msg_hdr_t);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs