Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actualizar los ejemplos a C++23 cuando esté disponible #16

Open
4 of 5 tasks
jesustorresdev opened this issue Oct 10, 2020 · 3 comments
Open
4 of 5 tasks

Actualizar los ejemplos a C++23 cuando esté disponible #16

jesustorresdev opened this issue Oct 10, 2020 · 3 comments
Labels
examples Improvements or additions to examples repository
Milestone

Comments

@jesustorresdev
Copy link
Member

jesustorresdev commented Oct 10, 2020

  • Uso donde es posible de std::print y std::println en GCC 14 (pasamos a ubuntu 24.04)
  • Uso de std::print para mostrar thread.get_id() en los ejemplos de hilos. Aún no se puede porque hace falta __cpp_lib_formatters >= 202302L y eso es en GCC-14.1 que, por el momento, no esta para Ubuntu 24.04
  • Inicializar estructuras con designadores de la forma .campo.
  • Usar modules (https://devblogs.microsoft.com/cppblog/moving-a-project-to-cpp-named-modules/)
  • Actualizar el uso de std::print en los apuntes
@jesustorresdev jesustorresdev added enhancement New feature or request blocked Issue blocked by other issue examples Improvements or additions to examples repository labels Oct 10, 2020
@jesustorresdev jesustorresdev removed the enhancement New feature or request label Oct 20, 2020
@jesustorresdev jesustorresdev added this to the so2122 milestone Sep 14, 2021
@jesustorresdev jesustorresdev removed this from the so2122 milestone Sep 23, 2021
@jesustorresdev jesustorresdev modified the milestone: ocw Sep 11, 2022
@jesustorresdev jesustorresdev added this to the so2324 milestone May 16, 2023
jesustorresdev added a commit to ull-esit-sistemas-operativos/ssoo-ejemplos that referenced this issue Jun 29, 2023
jesustorresdev added a commit to ull-esit-sistemas-operativos/ssoo-ejemplos that referenced this issue Jun 29, 2023
Preparado para cuando venga en GCC std::print()

Refs: ull-esit-sistemas-operativos/ssoo-apuntes#16
@jesustorresdev
Copy link
Member Author

El soporte de módulos requiere -fmodules-ts en GCC y aun es experimental en CMAKE
https://www.kitware.com/import-cmake-c20-modules/

@jesustorresdev jesustorresdev removed this from the so2324 milestone Jun 29, 2023
jesustorresdev added a commit to ull-esit-sistemas-operativos/ssoo-ejemplos that referenced this issue Jul 5, 2023
@jesustorresdev jesustorresdev added this to the so2425 milestone Aug 7, 2024
@jesustorresdev jesustorresdev changed the title Actualizar los ejemplos a C++20 cuando esté disponible Actualizar los ejemplos a C++26 cuando esté disponible Aug 14, 2024
@jesustorresdev jesustorresdev changed the title Actualizar los ejemplos a C++26 cuando esté disponible Actualizar los ejemplos a C++23 cuando esté disponible Aug 14, 2024
@jesustorresdev jesustorresdev removed the blocked Issue blocked by other issue label Aug 14, 2024
jesustorresdev added a commit to ull-esit-sistemas-operativos/ssoo-ejemplos that referenced this issue Aug 14, 2024
jesustorresdev added a commit to ull-esit-sistemas-operativos/ssoo-ejemplos that referenced this issue Aug 14, 2024
jesustorresdev added a commit to ull-esit-sistemas-operativos/ssoo-ejemplos that referenced this issue Aug 14, 2024
@jesustorresdev
Copy link
Member Author

CMAKE ya admite modules, pero import std aún no se puede usar porque la libstdc++ aún no soporta el P2465R3

https://en.cppreference.com/w/cpp/compiler_support/23

@jesustorresdev jesustorresdev modified the milestones: so2425, so2526 Aug 17, 2024
@jesustorresdev
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Improvements or additions to examples repository
Projects
None yet
Development

No branches or pull requests

1 participant