@@ -664,7 +664,7 @@ namespace xt
664664 /* *
665665 * Adapt a smart pointer to a typed memory block (unique_ptr or shared_ptr)
666666 *
667- * \ code{.cpp}
667+ * @ code{.cpp}
668668 * #include <xtensor/xadapt.hpp>
669669 * #include <xtensor/xio.hpp>
670670 *
@@ -674,7 +674,7 @@ namespace xt
674674 * auto xptr = adapt_smart_ptr(sptr, shape);
675675 * xptr(1, 3) = 123.;
676676 * std::cout << xptr;
677- * \ endcode
677+ * @ endcode
678678 *
679679 * @ingroup xt_xadapt
680680 * @param smart_ptr a smart pointer to a memory block of T[]
@@ -701,7 +701,7 @@ namespace xt
701701 * a given shape and operate naturally on it. Memory will be automatically
702702 * handled by the smart pointer implementation.
703703 *
704- * \ code{.cpp}
704+ * @ code{.cpp}
705705 * #include <xtensor/xadapt.hpp>
706706 * #include <xtensor/xio.hpp>
707707 *
@@ -733,7 +733,7 @@ namespace xt
733733 * shape, std::move(unique_buf));
734734 * std::cout << obj << std::endl;
735735 * }
736- * \ endcode
736+ * @ endcode
737737 *
738738 * @ingroup xt_xadapt
739739 * @param data_ptr A pointer to a typed data block (e.g. double*)
@@ -763,7 +763,7 @@ namespace xt
763763 /* *
764764 * Adapt a smart pointer to a typed memory block (unique_ptr or shared_ptr)
765765 *
766- * \ code{.cpp}
766+ * @ code{.cpp}
767767 * #include <xtensor/xadapt.hpp>
768768 * #include <xtensor/xio.hpp>
769769 *
@@ -772,7 +772,7 @@ namespace xt
772772 * auto xptr = adapt_smart_ptr(sptr, {4, 2});
773773 * xptr(1, 3) = 123.;
774774 * std::cout << xptr;
775- * \ endcode
775+ * @ endcode
776776 *
777777 * @ingroup xt_xadapt
778778 * @param smart_ptr a smart pointer to a memory block of T[]
@@ -802,7 +802,7 @@ namespace xt
802802 * a given shape and operate naturally on it. Memory will be automatically
803803 * handled by the smart pointer implementation.
804804 *
805- * \ code{.cpp}
805+ * @ code{.cpp}
806806 * #include <xtensor/xadapt.hpp>
807807 * #include <xtensor/xio.hpp>
808808 *
@@ -832,7 +832,7 @@ namespace xt
832832 * {2, 4}, std::move(unique_buf));
833833 * std::cout << obj << std::endl;
834834 * }
835- * \ endcode
835+ * @ endcode
836836 *
837837 * @ingroup xt_xadapt
838838 * @param data_ptr A pointer to a typed data block (e.g. double*)
@@ -868,14 +868,14 @@ namespace xt
868868 *
869869 * Construct for example with:
870870 *
871- * \ code{.cpp}
871+ * @ code{.cpp}
872872 * #include <xtensor/xadapt.hpp>
873873 *
874874 * std::array<size_t, 2> shape = {2, 2};
875875 * std::vector<double> data = {1, 2, 3, 4};
876876 *
877877 * xt::xtensor_pointer<double, 2> a = xt::adapt(data.data(), 4, xt::no_ownership(), shape);
878- * \ endcode
878+ * @ endcode
879879 *
880880 * @ingroup xt_xadapt
881881 * @tparam T The data type (e.g. ``double``).
@@ -893,14 +893,14 @@ namespace xt
893893 *
894894 * Construct for example with:
895895 *
896- * \ code{.cpp}
896+ * @ code{.cpp}
897897 * #include <xtensor/xadapt.hpp>
898898 *
899899 * std::vector<int> data(4, 0);
900900 * xt::svector<size_t> shape({2, 2});
901901 *
902902 * xt::xarray_pointer<int> a = xt::adapt(data.data(), data.size(), xt::no_ownership(), shape);
903- * \ endcode
903+ * @ endcode
904904 *
905905 * @ingroup xt_xadapt
906906 * @tparam T The data type (e.g. ``double``).
0 commit comments